Skip to content

Commit 0806ba9

Browse files
authored
Update pmd.yml
1 parent d5f882e commit 0806ba9

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.github/workflows/pmd.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -107,12 +107,7 @@ jobs:
107107
s/[[:space:]]*==[[:space:]]*/==/g
108108

109109
# Remove full-line comments
110-
/^\s*!/d
111-
/^[cC*dD]/d
112-
/^[ \t]*[cC*dD]/d
113-
/^[Cc*]/d
114-
/^[[:blank:]]*!/
115-
110+
/^[[:space:]]*[!cC*dD]/d
116111
# Remove end-of-line comments, preserving quoted strings
117112
s/([^"'\''\\]*("[^"]*")?('\''[^'\'']*'\''?)?[^"'\''\\]*)[!].*$/\1/
118113
' "$file" > "$TMP_FILE"

0 commit comments

Comments
 (0)