Skip to content

Commit cfc9f7b

Browse files
authored
fix: filter deployers when executing non-interactive deploy (#152)
1 parent 75cb0a0 commit cfc9f7b

File tree

2 files changed

+2
-34
lines changed

2 files changed

+2
-34
lines changed

src/commands/deploy.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ export default class Deploy extends SfCommand<void> {
5252
} else {
5353
if (flags.interactive) {
5454
deployers = await this.selectDeployers(deployers);
55+
} else {
56+
deployers = deployers.filter((d) => !!options[d.getName()]);
5557
}
5658

5759
if (deployers.length === 0) {

yarn.lock

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1458,14 +1458,6 @@
14581458
"@typescript-eslint/typescript-estree" "4.32.0"
14591459
debug "^4.3.1"
14601460

1461-
"@typescript-eslint/[email protected]":
1462-
version "4.31.0"
1463-
resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-4.31.0.tgz#9be33aed4e9901db753803ba233b70d79a87fc3e"
1464-
integrity sha512-LJ+xtl34W76JMRLjbaQorhR0hfRAlp3Lscdiz9NeI/8i+q0hdBZ7BsiYieLoYWqy+AnRigaD3hUwPFugSzdocg==
1465-
dependencies:
1466-
"@typescript-eslint/types" "4.31.0"
1467-
"@typescript-eslint/visitor-keys" "4.31.0"
1468-
14691461
"@typescript-eslint/[email protected]":
14701462
version "4.32.0"
14711463
resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-4.32.0.tgz#e03c8668f8b954072b3f944d5b799c0c9225a7d5"
@@ -1474,29 +1466,11 @@
14741466
"@typescript-eslint/types" "4.32.0"
14751467
"@typescript-eslint/visitor-keys" "4.32.0"
14761468

1477-
"@typescript-eslint/[email protected]":
1478-
version "4.31.0"
1479-
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-4.31.0.tgz#9a7c86fcc1620189567dc4e46cad7efa07ee8dce"
1480-
integrity sha512-9XR5q9mk7DCXgXLS7REIVs+BaAswfdHhx91XqlJklmqWpTALGjygWVIb/UnLh4NWhfwhR5wNe1yTyCInxVhLqQ==
1481-
14821469
"@typescript-eslint/[email protected]":
14831470
version "4.32.0"
14841471
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-4.32.0.tgz#52c633c18da47aee09449144bf59565ab36df00d"
14851472
integrity sha512-LE7Z7BAv0E2UvqzogssGf1x7GPpUalgG07nGCBYb1oK4mFsOiFC/VrSMKbZQzFJdN2JL5XYmsx7C7FX9p9ns0w==
14861473

1487-
"@typescript-eslint/[email protected]":
1488-
version "4.31.0"
1489-
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-4.31.0.tgz#4da4cb6274a7ef3b21d53f9e7147cc76f278a078"
1490-
integrity sha512-QHl2014t3ptg+xpmOSSPn5hm4mY8D4s97ftzyk9BZ8RxYQ3j73XcwuijnJ9cMa6DO4aLXeo8XS3z1omT9LA/Eg==
1491-
dependencies:
1492-
"@typescript-eslint/types" "4.31.0"
1493-
"@typescript-eslint/visitor-keys" "4.31.0"
1494-
debug "^4.3.1"
1495-
globby "^11.0.3"
1496-
is-glob "^4.0.1"
1497-
semver "^7.3.5"
1498-
tsutils "^3.21.0"
1499-
15001474
"@typescript-eslint/[email protected]":
15011475
version "4.32.0"
15021476
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-4.32.0.tgz#db00ccc41ccedc8d7367ea3f50c6994b8efa9f3b"
@@ -1510,14 +1484,6 @@
15101484
semver "^7.3.5"
15111485
tsutils "^3.21.0"
15121486

1513-
"@typescript-eslint/[email protected]":
1514-
version "4.31.0"
1515-
resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-4.31.0.tgz#4e87b7761cb4e0e627dc2047021aa693fc76ea2b"
1516-
integrity sha512-HUcRp2a9I+P21+O21yu3ezv3GEPGjyGiXoEUQwZXjR8UxRApGeLyWH4ZIIUSalE28aG4YsV6GjtaAVB3QKOu0w==
1517-
dependencies:
1518-
"@typescript-eslint/types" "4.31.0"
1519-
eslint-visitor-keys "^2.0.0"
1520-
15211487
"@typescript-eslint/[email protected]":
15221488
version "4.32.0"
15231489
resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-4.32.0.tgz#455ba8b51242f2722a497ffae29313f33b14cb7f"

0 commit comments

Comments
 (0)