mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
chore: try a fix for clang-tidy on Windows
This commit is contained in:
@@ -120,6 +120,7 @@ async function runClangTidy (
|
||||
const cmd = path.resolve(LLVM_BIN, 'clang-tidy');
|
||||
const args = [`-p=${outDir}`];
|
||||
|
||||
if (PLATFORM === 'win32') args.push('--extra-arg-before=--driver-mode=cl');
|
||||
if (!process.env.CI) args.push('--use-color');
|
||||
if (fix) args.push('--fix');
|
||||
if (checks) args.push(`--checks=${checks}`);
|
||||
|
||||
Reference in New Issue
Block a user