Skip to content

Commit

Permalink
fix: several fixes for pkg commands
Browse files Browse the repository at this point in the history
  • Loading branch information
shetzel committed Aug 22, 2022
1 parent bc1614d commit 22c81af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/commands/force/package/beta/uninstall.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export class PackageUninstallCommand extends SfdxCommand {
char: 'p',
description: messages.getMessage('package'),
longDescription: messages.getMessage('packageLong'),
required: true,
}),
};

Expand Down
2 changes: 1 addition & 1 deletion test/commands/force/package/packageUninstall.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ describe('force:package:uninstall', () => {
assert.fail('the above should throw an invalid version error');
} catch (e) {
expect((e as Error).message).to.include(
'Invalid alias or ID: 03t4p000002BaHYXXX. Either your alias is invalid or undefined, or the ID provided is invalid (must start with 04t).'
"The subscriber package version alias: [03t4p000002BaHYXXX] isn't defined in the sfdx-project.json."
);
}
});
Expand Down

0 comments on commit 22c81af

Please sign in to comment.