diff options
author | Elvin Efendi <elvin.efendiev@shopify.com> | 2015-11-23 12:41:50 -0500 |
---|---|---|
committer | Elvin Efendi <elvin.efendiev@shopify.com> | 2015-11-23 12:41:50 -0500 |
commit | 26b02bf064c76d6ef7943016c798629810986092 (patch) | |
tree | 8e072f727d1e61b867c40ebfbaf0e1c451f1e5cf /lib/oxidized/model | |
parent | 7312e8ef0d10d8846c69d6962e98a450e6950bc9 (diff) |
include executed command into output
Diffstat (limited to 'lib/oxidized/model')
-rw-r--r-- | lib/oxidized/model/model.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/model.rb b/lib/oxidized/model/model.rb index c95cc67..ca851e3 100644 --- a/lib/oxidized/model/model.rb +++ b/lib/oxidized/model/model.rb @@ -79,7 +79,7 @@ module Oxidized attr_accessor :input, :node def cmd string, &block - out = @input.cmd string + out = "====================== #{string} ======================\n" + @input.cmd(string) return false unless out self.class.cmds[:all].each do |all_block| out = instance_exec Oxidized::String.new(out), string, &all_block |