Skip to content

Commit 32e923d

Browse files
committed
chore: strict mode
1 parent 81ed522 commit 32e923d

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
# Script to run as devcontainer postAttachCommand
3+
set -euo pipefail
34

45
# currently empty

src/base/.devcontainer/scripts/lifecycle/post_create.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
# Script to run as devcontainer postCreateCommand
3+
set -euo pipefail
34

45
# Install git-secrets, register AWS patterns and NHS rules in an idempotent way
56
if ! git config --get-all secrets.patterns | grep -Fq AKIA; then
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
# Script to run as devcontainer postStartCommand
3+
set -euo pipefail
34

45
# currently empty

0 commit comments

Comments
 (0)