summaryrefslogtreecommitdiff
path: root/lib/oxidized/model
diff options
context:
space:
mode:
authorytti <saku@ytti.fi>2016-01-18 21:29:51 +0200
committerytti <saku@ytti.fi>2016-01-18 21:29:51 +0200
commit7948a07b5b5916809ab02d18cd120b3afaf48bfd (patch)
tree584090dadc73bed3c93d15891d1589dd05982be4 /lib/oxidized/model
parentf3f6b5c9e0fdebcdaaf6cc01621c8dd6d3096e58 (diff)
parenta8ffc4d243c61d6757c07dd24e93c68d42147bdd (diff)
Merge pull request #270 from Shopify/fix-issue-268
do not include executed command name in output
Diffstat (limited to 'lib/oxidized/model')
-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 ca851e3..9185d43 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 = "====================== #{string} ======================\n" + @input.cmd(string)
+ out = @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