Skip to content

Commit f63874a

Browse files
authored
chore: enable pipefail for snapcraft.yaml.sh
Trap empty `NODE_VERSION`, e.g. if fetching `index.tab` fails. Refs: #38
1 parent 42abfa7 commit f63874a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

snapcraft.yaml.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
set -xe
3+
set -euxo pipefail
44

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

0 commit comments

Comments
 (0)