mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
feat: use run-clang-format in cc --fix mode
This commit is contained in:
@@ -59,7 +59,10 @@ const LINTERS = [ {
|
||||
}
|
||||
}
|
||||
}
|
||||
if (result.status) process.exit(result.status)
|
||||
if (result.status) {
|
||||
if (opts.fix) spawnAndCheckExitCode('python', ['script/run-clang-format.py', ...filenames])
|
||||
process.exit(result.status)
|
||||
}
|
||||
}
|
||||
}, {
|
||||
key: 'python',
|
||||
|
||||
Reference in New Issue
Block a user