mirror of
https://github.com/inspec/inspec
synced 2024-11-22 20:53:11 +00:00
(re)add debug for mock backend
This commit is contained in:
parent
cf77e56118
commit
a206d0ef09
1 changed files with 2 additions and 0 deletions
|
@ -11,6 +11,7 @@ module Vulcano::Backends
|
|||
end
|
||||
|
||||
def file(path)
|
||||
puts "--> get file #{path}"
|
||||
newpath = @mapping[path]
|
||||
if newpath != nil
|
||||
@files[path] ||= File.new(self, newpath, false)
|
||||
|
@ -20,6 +21,7 @@ module Vulcano::Backends
|
|||
end
|
||||
|
||||
def run_command(cmd)
|
||||
puts "--> run command #{cmd}"
|
||||
Command.new(self, cmd)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue