Skip to content

Commit 07aa095

Browse files
authored
Update indentation-linter.yml
1 parent 6cad809 commit 07aa095

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/indentation-linter.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,16 @@ jobs:
8282
return $STATUS
8383
}
8484
85-
validate_new_file() {
85+
validate_new_file() {
8686
local PARENT=$1
8787
local CURRENT=$2
8888
local FILE=$3
8989
local STATUS=0
90+
91+
if [[ ! -f "$FILE" ]]; then
92+
echo " [Skipped] $FILE (not found on disk)"
93+
return 0
94+
fi
9095

9196
declare -A approved_prefixes
9297

0 commit comments

Comments
 (0)