mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 00:13:50 +00:00
[dart2js] hide "invoke from" console message.
This message was meant to be presented as an extra diagnostic message when the compiler was running with the verbose flag, but it was accidentally presented in the help message when running 'dart compile js -h -v'. Change-Id: Ic2e76fc117bfd76f071756cc48ee6ce28d0f0391 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/275042 Reviewed-by: Ben Konyi <bkonyi@google.com> Commit-Queue: Sigmund Cherem <sigmund@google.com>
This commit is contained in:
parent
ef2c7916f5
commit
2d282a65ea
|
@ -716,7 +716,7 @@ Future<api.CompilationResult> compile(List<String> argv,
|
|||
if (invoker == null) {
|
||||
warning("The 'dart2js' entrypoint script is deprecated, "
|
||||
"please use 'dart compile js' instead.");
|
||||
} else if (verbose != null) {
|
||||
} else if (verbose != null && !wantHelp) {
|
||||
print("Compiler invoked from: '$invoker'");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue