Skip to content

Commit 2244ab1

Browse files
authored
Fix path variable declaration
1 parent 70a6226 commit 2244ab1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ runs:
2222
- name: Check
2323
shell: bash
2424
run: |
25+
path=${{ inputs.folder }}
2526
failures=0
2627
while read -rd $'\0' file; do
2728
if ! ./arkscript --format "$file" --check; then
@@ -30,7 +31,6 @@ runs:
3031
else
3132
echo "✅ $(basename $file)"
3233
fi
33-
path=${{ inputs.folder }}
3434
done < <(find "${path%/}" -type f -name "*.ark" -maxdepth 1 -print0)
3535
3636
echo "$failures file(s) need to be formatted"

0 commit comments

Comments
 (0)