prevented Wagon to run inside an ruby application (no shell)
did
committed Feb 24, 2016
commit b9e24f21b285006af06a24f88745ec35bec789a8
Showing 1
changed file with
1 additions
and 1 deletions
locomotive/wagon/commands/pull_command.rb b/lib/locomotive/wagon/commands/pull_command.rb
+1
-1
| @@ | @@ -62,7 +62,7 @@ module Locomotive::Wagon |
| end | |
| def print_result_message | |
| - | shell.say "\n\nThe templates, theme assets and content have been pulled from the remote version.", :green |
| + | shell.try(:say, "\n\nThe templates, theme assets and content have been pulled from the remote version.", :green) |
| true | |
| end | |