summaryrefslogtreecommitdiff
path: root/lib/license/finder/ext/shared_helpers.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/license/finder/ext/shared_helpers.rb')
-rw-r--r--lib/license/finder/ext/shared_helpers.rb7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/license/finder/ext/shared_helpers.rb b/lib/license/finder/ext/shared_helpers.rb
index cee79ab..c3d6319 100644
--- a/lib/license/finder/ext/shared_helpers.rb
+++ b/lib/license/finder/ext/shared_helpers.rb
@@ -2,10 +2,13 @@
module LicenseFinder
module SharedHelpers
+ def shell
+ ::License::Management.shell
+ end
+
class Cmd
def self.run(command)
- @shell ||= ::License::Management::Shell.new
- @shell.execute(command)
+ ::License::Management.shell.execute(command)
end
end
end