summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-03-07 15:26:37 -0700
committermo khan <mo.khan@gmail.com>2020-03-07 15:26:37 -0700
commit558c8ca5ff4d8635b60e05c4f5a18fe7d1058514 (patch)
treec19c9f37a3f19a56c8687ac650340bbe015ad5af /lib
parent09e3c5b986ed0251dd45e1854ad8ef304fe46952 (diff)
Fix shellcheck error
Diffstat (limited to 'lib')
-rw-r--r--lib/license/finder/ext.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/license/finder/ext.rb b/lib/license/finder/ext.rb
index 7bd85df..91bf297 100644
--- a/lib/license/finder/ext.rb
+++ b/lib/license/finder/ext.rb
@@ -26,7 +26,7 @@ module LicenseFinder
class Cmd
def self.run(command)
stdout, stderr, status = Open3.capture3(command)
- puts stdout if ENV['LM_DEBUG']
+ puts stdout unless ENV['LM_DEBUG'].nil? || ENV['LM_DEBUG'].empty?
[stdout, stderr, status]
end
end