Skip to content

Commit

Permalink
chore: enable pipefail for snapcraft.yaml.sh
Browse files Browse the repository at this point in the history
Trap empty `NODE_VERSION`, e.g. if fetching `index.tab` fails.

Refs: #38
  • Loading branch information
richardlau authored May 6, 2022
1 parent 42abfa7 commit f63874a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snapcraft.yaml.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

set -xe
set -euxo pipefail

__dirname="$(CDPATH= cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
STRIP_NPX=no
Expand Down

0 comments on commit f63874a

Please sign in to comment.