File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
src/commands/package/pushupgrade Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,10 @@ Org list file is invalid.
51
51
52
52
Org list has invalid org/orgs.
53
53
54
+ # error.no-org-list-file-or-org-list-input
55
+
56
+ Either org list file or org list input must be supplied.
57
+
54
58
# examples
55
59
56
60
sf package pushupgrade schedule --package-version 04txyz --scheduled-start-time "2024-12-06T21:00:00" --org-list upgrade-orgs.csv --target-dev-hub myHub
Original file line number Diff line number Diff line change @@ -59,6 +59,8 @@ export class PackagePushScheduleCommand extends SfCommand<PackagePushScheduleRes
59
59
orgList = await readOrgListFile ( flags [ 'org-file' ] ) ;
60
60
} else if ( flags [ 'org-list' ] ) {
61
61
orgList = getOrgListFromInput ( flags [ 'org-list' ] ) ;
62
+ } else {
63
+ throw new SfError ( messages . getMessage ( 'error.no-org-list-file-or-org-list-input' ) ) ;
62
64
}
63
65
64
66
// Connect to the Dev Hub
You can’t perform that action at this time.
0 commit comments