Skip to content

Commit 3912930

Browse files
committed
fix: change deploy options from 'value' to 'validate'
- Update webapp:deploy --options flag to use 'build' or 'validate' - Update message file and test to reflect correct option - Regenerate JSON schemas
1 parent 1f51195 commit 3912930

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

messages/webapp.deploy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Name of your web app
1212

1313
# flags.options.summary
1414

15-
Deployment options (build or value)
15+
Deployment options (build or validate)
1616

1717
# examples
1818

src/commands/webapp/deploy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export default class WebappDeploy extends SfCommand<WebappDeployResult> {
4040
options: Flags.string({
4141
summary: messages.getMessage('flags.options.summary'),
4242
char: 'o',
43-
options: ['build', 'value'],
43+
options: ['build', 'validate'],
4444
default: 'build',
4545
}),
4646
};

test/commands/webapp/deploy.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ describe('webapp deploy', () => {
3838
});
3939

4040
it('runs with --json and custom options', async () => {
41-
const result = await WebappDeploy.run(['--name', 'testApp', '--options', 'value']);
41+
const result = await WebappDeploy.run(['--name', 'testApp', '--options', 'validate']);
4242
expect(result.name).to.equal('testApp');
43-
expect(result.options).to.equal('value');
43+
expect(result.options).to.equal('validate');
4444
expect(result.success).to.be.true;
4545
});
4646

0 commit comments

Comments
 (0)