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

Commit 9a1e1a0

Browse files
committed
Merge pull request #333 from HansMuller/another-sky-analyzer-fix
add --fatal-warnings to dartanalyzer command line
2 parents 4d41c2e + 36813af commit 9a1e1a0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sky/tools/skyanalyzer

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ def main():
5757
try:
5858
subprocess.check_output([
5959
DARTANALYZER, "--package-warnings", args.app_path,
60-
"--package-root", os.path.join(WORKBENCH, "packages")
60+
"--package-root", os.path.join(WORKBENCH, "packages"),
61+
"--fatal-warnings"
6162
], stderr=subprocess.STDOUT, cwd=WORKBENCH)
6263
except subprocess.CalledProcessError as e:
6364
errors = [l for l in e.output.split('\n')

0 commit comments

Comments
 (0)