We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6cad809 commit 07aa095Copy full SHA for 07aa095
.github/workflows/indentation-linter.yml
@@ -82,11 +82,16 @@ jobs:
82
return $STATUS
83
}
84
85
- validate_new_file() {
+ validate_new_file() {
86
local PARENT=$1
87
local CURRENT=$2
88
local FILE=$3
89
local STATUS=0
90
+
91
+ if [[ ! -f "$FILE" ]]; then
92
+ echo " [Skipped] $FILE (not found on disk)"
93
+ return 0
94
+ fi
95
96
declare -A approved_prefixes
97
0 commit comments