Unverified Commit 821c9b35 authored by Siva's avatar Siva Committed by GitHub

Roll engine to version 6280adbfb1f9f63cdc6179b9b78634add1e4f2e3 (#15729)

* roll engine version to 6280adbfb1f9f63cdc6179b9b78634add1e4f2e3

* Correctly handle previewDart : false setting in AnalysisServer and
AnalyzeOnce classes.
parent d9e37156
c3ab0c9143029f0267a05b99effbfbd280a4901b
6280adbfb1f9f63cdc6179b9b78634add1e4f2e3
......@@ -174,6 +174,8 @@ class AnalysisServer {
if (previewDart2) {
command.add('--preview-dart-2');
} else {
command.add('--no-preview-dart-2');
}
printTrace('dart ${command.skip(1).join(' ')}');
......
......@@ -89,6 +89,8 @@ class AnalyzeOnce extends AnalyzeBase {
if (previewDart2) {
arguments.add('--preview-dart-2');
} else {
arguments.add('--no-preview-dart-2');
}
final String dartanalyzer = fs.path.join(Cache.flutterRoot, 'bin', 'cache', 'dart-sdk', 'bin', 'dartanalyzer');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment