Skip to content

Commit 9021c60

Browse files
committed
[staging-intervention] Include #!/bin/bash at top of runs
1 parent 1610c72 commit 9021c60

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

staging_intervention/tests/specs/base.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ initialization:
66
id: start
77
- type: bash
88
runs: |
9-
declare -a names=("josh" "adam" "mary" "jane" "charlie" "kristen" "alice" "john")
9+
#!/bin/bash
10+
names=("josh" "adam" "mary" "jane" "charlie" "kristen" "alice" "john")
1011
for name in "${names[@]}"; do
1112
touch "$name.txt"
1213
git add "$name.txt"

staging_intervention/tests/specs/extra_unstaged.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ initialization:
66
id: start
77
- type: bash
88
runs: |
9+
#!/bin/bash
910
names=("josh" "adam" "mary" "jane" "charlie" "kristen" "alice" "john")
1011
for name in "${names[@]}"; do
1112
touch "$name.txt"

staging_intervention/tests/specs/missing_unstaged.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ initialization:
66
id: start
77
- type: bash
88
runs: |
9-
declare -a names=("josh" "adam" "mary" "jane" "charlie" "kristen" "alice" "john")
9+
#!/bin/bash
10+
names=("josh" "adam" "mary" "jane" "charlie" "kristen" "alice" "john")
1011
for name in "${names[@]}"; do
1112
touch "$name.txt"
1213
git add "$name.txt"

staging_intervention/tests/specs/mixed_unstaged.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ initialization:
66
id: start
77
- type: bash
88
runs: |
9+
#!/bin/bash
910
declare -a names=("josh" "adam" "mary" "jane" "charlie" "kristen" "alice" "john")
1011
for name in "${names[@]}"; do
1112
touch "$name.txt"

0 commit comments

Comments
 (0)