New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dartanalyzer has an incorrect exit status 3 when analyzing a part #19705
Comments
Added this to the 1.6 milestone. |
Removed this from the 1.6 milestone. |
Removed Oldschool-Milestone-1.6 label. |
The exit codes listed on https://www.dartlang.org/tools/analyzer/ are wrong. The current exit codes are: 0 - No issues found Removed Area-Analyzer, Analyzer-Command labels. |
Issue #20679 has been merged into this issue. |
Shams, could you fix this and/or move it over to the github repo for www.dartlang.org? Set owner to @Sfshaza. |
Issue #21991 has been merged into this issue. |
Moved to: dart-archive/www.dartlang.org#1216 Added MovedToGithub label. |
This issue was originally filed by jenw78...@gmail.com
To reproduce:
part of library_name;
dartanalyzer test.dart ; echo $?
which outputs 3. This happens with version 1.5.1 and 1.4.0. With version 1.3.6, it outputs 0.
According to:
https://www.dartlang.org/docs/dart-up-and-running/contents/ch04-tools-dart_analyzer.html
3 is not a valid exit status.
Either the tool should be updated to return to the previous behavior or the documentation should be updated to add this new exit status when analyzing a file that is part of a library.
The text was updated successfully, but these errors were encountered: