Skip to content

Commit 94c0539

Browse files
derekxu16jakemac53
andcommitted
Apply suggestions from code review
Co-authored-by: Jacob MacDonald <[email protected]>
1 parent 521e9c8 commit 94c0539

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

frontend_server_client/lib/src/frontend_server_client.dart

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)