diff options
Diffstat (limited to 'support/go_build.rb')
-rw-r--r-- | support/go_build.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/support/go_build.rb b/support/go_build.rb index 1202dd2..30a6b71 100644 --- a/support/go_build.rb +++ b/support/go_build.rb @@ -12,7 +12,7 @@ module GoBuild GO_ENV = { 'GOPATH' => BUILD_DIR, - 'GO15VENDOREXPERIMENT' => '1', + 'GO15VENDOREXPERIMENT' => '1' }.freeze def create_fresh_build_dir @@ -26,7 +26,7 @@ module GoBuild raise "env must be a hash" unless env.is_a?(Hash) raise "cmd must be an array" unless cmd.is_a?(Array) - if !system(env, *cmd) + unless system(env, *cmd) abort "command failed: #{env.inspect} #{cmd.join(' ')}" end end |