Skip to content

Commit 7c62ed2

Browse files
committed
fix: changed messages to match new command names
1 parent eaf1228 commit 7c62ed2

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

messages/package_version_create.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,13 +191,13 @@ Display verbose command output. When polling for the status of the creation, thi
191191

192192
# InProgress
193193

194-
Package version creation request status is '%s'. Run "%s package:version:create:report -i %s" to query for status.
194+
Package version creation request status is '%s'. Run "%s package version create report -i %s" to query for status.
195195

196196
# Success
197197

198198
Successfully created the package version [%s]. Subscriber Package Version Id: %s
199199
Package Installation URL: %s%s
200-
As an alternative, you can use the "%s package:install" command.
200+
As an alternative, you can use the "%s package install" command.
201201

202202
# errorPathNotFound
203203

test/commands/package/packageVersion.nut.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ describe('package:version:*', () => {
9999
{ ensureExitCode: 0 }
100100
).shellOutput.stdout;
101101
expect(result).to.include("Package version creation request status is '");
102-
expect(result).to.match(/Run "sfd?x? package:version:create:report -i 08c.{15}" to query for status\./);
102+
expect(result).to.match(/Run "sfd?x? package version create report -i 08c.{15}" to query for status\./);
103103
});
104104

105105
it('should create a new package version with async-validation', () => {
@@ -110,7 +110,7 @@ describe('package:version:*', () => {
110110
// eslint-disable-next-line no-console
111111
console.log(result);
112112
expect(result).to.include("Package version creation request status is '");
113-
expect(result).to.match(/Run "sfd?x? package:version:create:report -i 08c.{15}" to query for status\./);
113+
expect(result).to.match(/Run "sfd?x? package version create report -i 08c.{15}" to query for status\./);
114114
});
115115

116116
// package:version:create --wait --json is tested in versionPromoteUpdate.nut.ts
@@ -124,7 +124,7 @@ describe('package:version:*', () => {
124124
expect(result).to.match(
125125
/Package Installation URL: https:\/\/login.salesforce.com\/packaging\/installPackage\.apexp\?p0=04t.{15}/
126126
);
127-
expect(result).to.match(/As an alternative, you can use the "sfd?x? package:install" command\./);
127+
expect(result).to.match(/As an alternative, you can use the "sfd?x? package install" command\./);
128128
});
129129

130130
it('should create a new package version (json)', () => {

test/commands/package/packageVersionCreate.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ describe('package:version:create - tests', () => {
143143
expect(warnStub.callCount).to.equal(0);
144144
expect(logStub.callCount).to.equal(1);
145145
expect(logStub.args[0]).to.deep.equal([
146-
`Successfully created the package version [08c3i000000fylgAAA]. Subscriber Package Version Id: 04t3i000002eya2AAA${os.EOL}Package Installation URL: https://login.salesforce.com/packaging/installPackage.apexp?p0=04t3i000002eya2AAA${os.EOL}As an alternative, you can use the "sf package:install" command.`,
146+
`Successfully created the package version [08c3i000000fylgAAA]. Subscriber Package Version Id: 04t3i000002eya2AAA${os.EOL}Package Installation URL: https://login.salesforce.com/packaging/installPackage.apexp?p0=04t3i000002eya2AAA${os.EOL}As an alternative, you can use the "sf package install" command.`,
147147
]);
148148
});
149149

@@ -182,7 +182,7 @@ describe('package:version:create - tests', () => {
182182
expect(warnStub.callCount).to.equal(0);
183183
expect(logStub.callCount).to.equal(1);
184184
expect(logStub.args[0]).to.deep.equal([
185-
`Successfully created the package version [08c3i000000fylgAAA]. Subscriber Package Version Id: 04t3i000002eya2AAA${os.EOL}Package Installation URL: https://login.salesforce.com/packaging/installPackage.apexp?p0=04t3i000002eya2AAA${os.EOL}As an alternative, you can use the "sf package:install" command.`,
185+
`Successfully created the package version [08c3i000000fylgAAA]. Subscriber Package Version Id: 04t3i000002eya2AAA${os.EOL}Package Installation URL: https://login.salesforce.com/packaging/installPackage.apexp?p0=04t3i000002eya2AAA${os.EOL}As an alternative, you can use the "sf package install" command.`,
186186
]);
187187
});
188188

@@ -227,7 +227,7 @@ describe('package:version:create - tests', () => {
227227
]);
228228
expect(logStub.callCount).to.equal(1);
229229
expect(logStub.args[0]).to.deep.equal([
230-
`Successfully created the package version [08c3i000000fylgAAA]. Subscriber Package Version Id: 04t3i000002eya2AAA${os.EOL}Package Installation URL: https://login.salesforce.com/packaging/installPackage.apexp?p0=04t3i000002eya2AAA${os.EOL}As an alternative, you can use the "sf package:install" command.`,
230+
`Successfully created the package version [08c3i000000fylgAAA]. Subscriber Package Version Id: 04t3i000002eya2AAA${os.EOL}Package Installation URL: https://login.salesforce.com/packaging/installPackage.apexp?p0=04t3i000002eya2AAA${os.EOL}As an alternative, you can use the "sf package install" command.`,
231231
]);
232232
});
233233

0 commit comments

Comments
 (0)