Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 45fe7b9

Browse files
committed
Clang-tidy: made verbose print out commands and fixed quoting problem for warnings as errors
1 parent e9aba46 commit 45fe7b9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/clang_tidy/lib/src/command.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ class Command {
135135
final List<String> args = <String>[
136136
filePath,
137137
if (options.warningsAsErrors != null)
138-
'--warnings-as-errors="${options.warningsAsErrors}"',
138+
'--warnings-as-errors=${options.warningsAsErrors}',
139139
if (options.checks != null)
140140
options.checks!,
141141
if (options.fix) ...<String>[
@@ -149,6 +149,7 @@ class Command {
149149
<String>[tidyPath, ...args],
150150
workingDirectory: directory,
151151
name: 'clang-tidy on $filePath',
152+
printOutput: options.verbose,
152153
);
153154
}
154155
}

0 commit comments

Comments
 (0)