Skip to content

Commit 6ffc522

Browse files
committed
add an extra dash to fix issue
1 parent 9944b99 commit 6ffc522

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

specs/shell/array_append_values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
--
1+
---
22
name: Append value(s) to an array
33
command: "{{array_name}}+=({{values}})"
44
tags:

specs/shell/array_loop_through.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
--
1+
---
22
name: Loop through an array and run a command on each value
33
command: "for i in ${{{array_name}}[@]}; do {{command}}; done"
44
tags:

0 commit comments

Comments
 (0)