Skip to content

Commit 1de5495

Browse files
committed
make workaround work for stable too
1 parent e8e724e commit 1de5495

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/src/dartdoc_options.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,10 @@ class DartToolDefinition extends ToolDefinition {
289289
var needsSnapshot = snapshot.needsSnapshot;
290290
if (needsSnapshot) {
291291
args.insertAll(0, [
292+
// TODO(jcollins-g): remove ignore and verbosity resets once
293+
// https://dart-review.googlesource.com/c/sdk/+/181421 is safely
294+
// in the rearview mirror in dev/Flutter.
295+
'--ignore-unrecognized-flags',
292296
'--verbosity=error',
293297
'--snapshot=${_resourceProvider.pathContext.absolute(snapshotFile.path)}',
294298
'--snapshot_kind=app-jit'

0 commit comments

Comments
 (0)