Make shellcheck check more scripts

This commit is contained in:
Oliver Blanthorn 2019-05-29 17:48:32 +01:00
parent e15de37b78
commit 4aa422d746
No known key found for this signature in database
GPG key ID: 2BB8C36BB504BFF3
4 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash
source ./scripts/common
source ./scripts/common.sh
jsfiles=$(cachedTSLintFiles)
otherfiles=$(cachedPrettierFiles)

View file

@ -51,7 +51,7 @@
"test": "npm run build && rm -rf web-ext-artifacts/* && web-ext build --source-dir ./build --overwrite-dest && mv web-ext-artifacts/*.zip web-ext-artifacts/tridactyl.xpi && jest --silent",
"update-buildsystem": "rm -rf src/node_modules; npm run clean",
"lint": "bash hooks/pre-commit",
"pretty": "bash scripts/pretty"
"pretty": "bash scripts/pretty.sh"
},
"jest": {
"transform": {

View file

@ -2,7 +2,7 @@
# Run prettier on each staged file that needs it without touching the working tree copy if they differ.
source ./scripts/common
source ./scripts/common.sh
set -Eeuo pipefail