diff options
Diffstat (limited to 'lib/license/finder/ext/shared_helpers.rb')
| -rw-r--r-- | lib/license/finder/ext/shared_helpers.rb | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/license/finder/ext/shared_helpers.rb b/lib/license/finder/ext/shared_helpers.rb index 4e61261..bc37b9c 100644 --- a/lib/license/finder/ext/shared_helpers.rb +++ b/lib/license/finder/ext/shared_helpers.rb @@ -5,15 +5,9 @@ module LicenseFinder class Cmd def self.run(command) stdout, stderr, status = Open3.capture3(command) - debug([command, stdout].join('\n')) + ::License::Management.logger.debug([command, stdout].join('\n')) [stdout, stderr, status] end - - def self.debug(message) - return unless ENV['CI_DEBUG_TRACE'] == 'true' - - ::LicenseFinder::Core.default_logger.info(self.class, message) - end end end end |
