Skip to content

Commit f8a1c89

Browse files
Apply suggestions from code review
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent 1a11f52 commit f8a1c89

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

web/netlify/middleware/authMiddleware.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export const authMiddleware = () => {
99
if (!authToken) {
1010
return {
1111
statusCode: 400,
12-
body: JSON.stringify({ message: `Error : Missing x-auth-token in Header}` }),
12+
body: JSON.stringify({ message: "Error : Missing x-auth-token in Header" }),
1313
};
1414
}
1515

web/scripts/generateBuildInfo.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
44

55
jq -n --arg primeUri "$DEPLOY_PRIME_URL" --arg uri "$URL" --arg deployUri "$DEPLOY_URL" '{ netlifyDeployPrimeUri: $primeUri, netlifyUri: $uri, netlifyDeployUri: $deployUri }' > src/generatedNetlifyInfo.json
6-
node $SCRIPT_DIR/gitInfo.js
6+
node "$SCRIPT_DIR/gitInfo.js"

0 commit comments

Comments
 (0)