We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
target
1 parent 31da4c3 commit b597decCopy full SHA for b597dec
index.js
@@ -238,14 +238,15 @@ const baseOpen = async options => {
238
}
239
240
241
- if (options.target) {
242
- cliArguments.push(options.target);
243
- }
244
-
245
if (platform === 'darwin' && appArguments.length > 0) {
246
cliArguments.push('--args', ...appArguments);
247
248
+ // This has to come after `--args`.
+ if (options.target) {
+ cliArguments.push(options.target);
+ }
249
+
250
const subprocess = childProcess.spawn(command, cliArguments, childProcessOptions);
251
252
if (options.wait) {
0 commit comments