Skip to content

Commit

Permalink
avoid pipefail, use set -e instead
Browse files Browse the repository at this point in the history
  • Loading branch information
seanpdoyle committed Mar 17, 2016
1 parent 59d20c0 commit b0ba573
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/ember_cli/command.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def test
end

def build(watch: false)
"set -o pipefail; #{ember_build(watch: watch)} | #{tee}"
"set -e; #{ember_build(watch: watch)} | #{tee}"
end

private
Expand Down
2 changes: 1 addition & 1 deletion spec/lib/ember_cli/command_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
paths = build_paths(tee: "path/to/tee", log: "path/to/log")
command = build_command(paths: paths)

expect(command.build).to start_with("set -o pipefail;")
expect(command.build).to start_with("set -e;")
end

context "when building in production" do
Expand Down

0 comments on commit b0ba573

Please sign in to comment.