Skip to content

Commit a43f63e

Browse files
committed
Fix critical deploy bug
1 parent b768e1a commit a43f63e

File tree

9 files changed

+16
-16
lines changed

9 files changed

+16
-16
lines changed

scripts/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
#!/usr/bin/env bash
2-
gulp build
1+
#!/bin/bash
2+
gulp build

scripts/debug.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env bash
1+
#!/bin/bash
22
if [ -z "${NODE_ENV}" ]; then
33
export NODE_ENV=${1:-production}
44
fi

scripts/dev.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env bash
1+
#!/bin/bash
22
if [ -z "${NODE_ENV}" ]; then
33
export NODE_ENV=${1:-development}
44
fi

scripts/postinstall.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env bash
2-
if [[ $NODE_ENV = "production" ]]; then
1+
#!/bin/bash
2+
if [ $NODE_ENV = "production" ]; then
33
gulp build
4-
fi
4+
fi

scripts/start.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env bash
1+
#!/bin/bash
22
if [ -z "${NODE_ENV}" ]; then
33
export NODE_ENV=${1:-production}
44
fi

scripts/test-coverage.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env bash
1+
#!/bin/bash
22
if [ -z "${NODE_ENV}" ]; then
33
export NODE_ENV=${1:-test}
44
fi
@@ -7,4 +7,4 @@ if [ -z "${PORT}" ]; then
77
export PORT=${2:-3001}
88
fi
99

10-
istanbul cover ./node_modules/.bin/_mocha -- --compilers js:./compiler './app/**/*-test.js' './tests/**/*.js'
10+
istanbul cover ./node_modules/.bin/_mocha -- --compilers js:./compiler './app/**/*-test.js' './tests/**/*.js'

scripts/test-lint.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
#!/usr/bin/env bash
2-
esw -w 'app/**/*-test.js' 'tests/**/*.js'
1+
#!/bin/bash
2+
esw -w 'app/**/*-test.js' 'tests/**/*.js'

scripts/test-watch.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env bash
1+
#!/bin/bash
22
if [ -z "${NODE_ENV}" ]; then
33
export NODE_ENV=${1:-test}
44
fi
@@ -7,4 +7,4 @@ if [ -z "${PORT}" ]; then
77
export PORT=${2:-3001}
88
fi
99

10-
mocha --watch --reporter progress --compilers js:./compiler './app/**/*-test.js' './tests/**/*.js'
10+
mocha --watch --reporter progress --compilers js:./compiler './app/**/*-test.js' './tests/**/*.js'

scripts/test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env bash
1+
#!/bin/bash
22
if [ -z "${NODE_ENV}" ]; then
33
export NODE_ENV=${1:-test}
44
fi
@@ -7,4 +7,4 @@ if [ -z "${PORT}" ]; then
77
export PORT=${2:-3001}
88
fi
99

10-
mocha --compilers js:./compiler './app/**/*-test.js' './tests/**/*.js'
10+
mocha --compilers js:./compiler './app/**/*-test.js' './tests/**/*.js'

0 commit comments

Comments
 (0)