mirror of
https://github.com/inspec/inspec
synced 2024-11-26 14:40:26 +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
|
end
|
||||||
|
|
||||||
def file(path)
|
def file(path)
|
||||||
|
puts "--> get file #{path}"
|
||||||
newpath = @mapping[path]
|
newpath = @mapping[path]
|
||||||
if newpath != nil
|
if newpath != nil
|
||||||
@files[path] ||= File.new(self, newpath, false)
|
@files[path] ||= File.new(self, newpath, false)
|
||||||
|
@ -20,6 +21,7 @@ module Vulcano::Backends
|
||||||
end
|
end
|
||||||
|
|
||||||
def run_command(cmd)
|
def run_command(cmd)
|
||||||
|
puts "--> run command #{cmd}"
|
||||||
Command.new(self, cmd)
|
Command.new(self, cmd)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue