File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
frontend_server_client/lib/src Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -105,8 +105,8 @@ class FrontendServerClient {
105105 < String > [
106106 if (debug) '--observe' ,
107107 frontendServerPath,
108- ] +
109- commonArguments ,
108+ ...commonArguments,
109+ ] ,
110110 );
111111 } else if (File (_feServerAotSnapshotPath).existsSync ()) {
112112 if (debug) {
@@ -115,7 +115,7 @@ class FrontendServerClient {
115115 }
116116 feServer = await Process .start (
117117 _dartAotRuntimePath,
118- < String > [_feServerAotSnapshotPath] + commonArguments,
118+ < String > [_feServerAotSnapshotPath, ... commonArguments] ,
119119 );
120120 } else {
121121 // AOT snapshots cannot be generated on IA32, so we need this fallback
@@ -125,8 +125,8 @@ class FrontendServerClient {
125125 < String > [
126126 if (debug) '--observe' ,
127127 _feServerAppJitSnapshotPath,
128- ] +
129- commonArguments ,
128+ ...commonArguments,
129+ ] ,
130130 );
131131 }
132132 var feServerStdoutLines = StreamQueue (feServer.stdout
You can’t perform that action at this time.
0 commit comments