Skip to content

Commit

Permalink
Fix .arclint on Windows
Browse files Browse the repository at this point in the history
Run "bash myscript.sh". This will work if bash is on PATH, which it
probably is, since developers have to use git.

Reviewed By: scott.linder

Differential Revision: https://reviews.llvm.org/D78846
  • Loading branch information
rnk committed Apr 28, 2020
1 parent 2bb686b commit efd1f17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .arclint
Expand Up @@ -2,7 +2,7 @@
"linters": {
"clang-format": {
"type": "script-and-regex",
"script-and-regex.script": "utils/arcanist/clang-format.sh",
"script-and-regex.script": "bash utils/arcanist/clang-format.sh",
"script-and-regex.regex": "/^(?P<severity>[[:alpha:]]+)\n(?P<message>[^\n]+)\n(====|(?P<line>\\d),(?P<char>\\d)\n(?P<original>.*)>>>>\n(?P<replacement>.*)<<<<\n)$/s",
"include": [
"(\\.(cc|cpp|h)$)"
Expand Down

0 comments on commit efd1f17

Please sign in to comment.