Skip to content

Commit 28ef49f

Browse files
committed
Make "only" flags a string
1 parent a25a4f2 commit 28ef49f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/ci-test/deploy-if-needed.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ interface DeployOptions {
1111
project: string;
1212
token: string;
1313
cwd: string;
14-
only?: string[];
14+
only?: string;
1515
}
1616

1717
/**
@@ -54,7 +54,7 @@ async function deployIfNeeded() {
5454
return;
5555
}
5656
if (flags[0] !== 'all') {
57-
deployOptions.only = flags;
57+
deployOptions.only = flags.join(',');
5858
console.log(
5959
chalk`{blue Deploying to ${flags.toString()} }`
6060
);

0 commit comments

Comments
 (0)