File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -103,12 +103,9 @@ refresh: Performs a full page refresh.
103103 // Forward remaining arguments as Build Options to the Daemon.
104104 // This isn't documented. Should it be advertised?
105105 var buildOptions = buildRunnerArgs (pubspecLock, configuration)
106- ..addAll (argResults.rest
107- .where ((arg) => ! arg.contains (':' ) || arg.startsWith ('--' ))
108- .toList ());
109- var directoryArgs = argResults.rest
110- .where ((arg) => arg.contains (':' ) || ! arg.startsWith ('--' ))
111- .toList ();
106+ ..addAll (argResults.rest.where ((arg) => arg.startsWith ('-' )).toList ());
107+ var directoryArgs =
108+ argResults.rest.where ((arg) => ! arg.startsWith ('-' )).toList ();
112109 var targetPorts = _parseDirectoryArgs (directoryArgs);
113110 var workflow =
114111 await DevWorkflow .start (configuration, buildOptions, targetPorts);
You can’t perform that action at this time.
0 commit comments