From 196b8cddca2f8cf6267e098f4416b99f399c4b50 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Tue, 7 Apr 2020 10:06:29 -0400 Subject: [PATCH] set strict options for scripts --- deploy_static | 2 +- process_static | 2 +- validate_static | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/deploy_static b/deploy_static index d2c8d95b..4bb237e8 100755 --- a/deploy_static +++ b/deploy_static @@ -1,6 +1,6 @@ #!/bin/bash -set -o errexit +set -o errexit -o nounset -o pipefail ./validate_static ./process_static diff --git a/process_static b/process_static index d03ac408..c082e46f 100755 --- a/process_static +++ b/process_static @@ -1,6 +1,6 @@ #!/bin/bash -set -o errexit +set -o errexit -o nounset -o pipefail rm -rf static_tmp cp -a static static_tmp diff --git a/validate_static b/validate_static index 645579d8..2ff81e8f 100755 --- a/validate_static +++ b/validate_static @@ -1,6 +1,6 @@ #!/bin/bash -set -o errexit +set -o errexit -o nounset -o pipefail shopt -s globstar jshint --verbose static/**/*.js