diff options
author | ytti <saku@ytti.fi> | 2016-01-18 21:29:51 +0200 |
---|---|---|
committer | ytti <saku@ytti.fi> | 2016-01-18 21:29:51 +0200 |
commit | 7948a07b5b5916809ab02d18cd120b3afaf48bfd (patch) | |
tree | 584090dadc73bed3c93d15891d1589dd05982be4 /lib/oxidized | |
parent | f3f6b5c9e0fdebcdaaf6cc01621c8dd6d3096e58 (diff) | |
parent | a8ffc4d243c61d6757c07dd24e93c68d42147bdd (diff) |
Merge pull request #270 from Shopify/fix-issue-268
do not include executed command name in output
Diffstat (limited to 'lib/oxidized')
-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 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 |