summaryrefslogtreecommitdiff
path: root/lib/oxidized
diff options
context:
space:
mode:
authorElvin Efendi <elvin.efendiev@shopify.com>2015-11-23 12:41:50 -0500
committerElvin Efendi <elvin.efendiev@shopify.com>2015-11-23 12:41:50 -0500
commit26b02bf064c76d6ef7943016c798629810986092 (patch)
tree8e072f727d1e61b867c40ebfbaf0e1c451f1e5cf /lib/oxidized
parent7312e8ef0d10d8846c69d6962e98a450e6950bc9 (diff)
include executed command into output
Diffstat (limited to 'lib/oxidized')
-rw-r--r--lib/oxidized/model/model.rb2
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