lib/spandx/commands/scan.rb in spandx-0.1.2 vs lib/spandx/commands/scan.rb in spandx-0.1.3
- old
+ new
@@ -4,10 +4,10 @@
module Commands
class Scan < Spandx::Command
attr_reader :lockfile
def initialize(lockfile, options)
- @lockfile = lockfile ? Pathname.new(File.expand_path(lockfile)) : nil
+ @lockfile = lockfile ? ::Pathname.new(File.expand_path(lockfile)) : nil
@options = options
end
def execute(output: $stdout)
if lockfile.nil?