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 {
105
105
< String > [
106
106
if (debug) '--observe' ,
107
107
frontendServerPath,
108
- ] +
109
- commonArguments ,
108
+ ...commonArguments,
109
+ ] ,
110
110
);
111
111
} else if (File (_feServerAotSnapshotPath).existsSync ()) {
112
112
if (debug) {
@@ -115,7 +115,7 @@ class FrontendServerClient {
115
115
}
116
116
feServer = await Process .start (
117
117
_dartAotRuntimePath,
118
- < String > [_feServerAotSnapshotPath] + commonArguments,
118
+ < String > [_feServerAotSnapshotPath, ... commonArguments] ,
119
119
);
120
120
} else {
121
121
// AOT snapshots cannot be generated on IA32, so we need this fallback
@@ -125,8 +125,8 @@ class FrontendServerClient {
125
125
< String > [
126
126
if (debug) '--observe' ,
127
127
_feServerAppJitSnapshotPath,
128
- ] +
129
- commonArguments ,
128
+ ...commonArguments,
129
+ ] ,
130
130
);
131
131
}
132
132
var feServerStdoutLines = StreamQueue (feServer.stdout
You can’t perform that action at this time.
0 commit comments