We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 348b2ba commit 59c498fCopy full SHA for 59c498f
src/commands/package/pushupgrade/schedule.ts
@@ -71,7 +71,7 @@ export class PackagePushScheduleCommand extends SfCommand<PackagePushScheduleRes
71
async function readOrgListFile(filePath: string): Promise<string[]> {
72
try {
73
const fileContent = await fs.readFile(filePath, 'utf-8');
74
- const orgIds = fileContent.split(/\s+/).filter((id) => id.length > 0);
+ const orgIds = fileContent.split(/\r?\n/).filter((id) => id.trim().length > 0);
75
76
return orgIds.filter((id: string) => /^00D[a-zA-Z0-9]{12}$/.test(id));
77
} catch (error) {
0 commit comments