Skip to content

Commit

Permalink
Fix missing a space in command description (#1379)
Browse files Browse the repository at this point in the history
  • Loading branch information
BethanyZhou authored Sep 24, 2024
1 parent 694cced commit e1e3c5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion powershell/plugins/create-commands-v2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ export /* @internal */ class Inferrer {
// positive test case: The operation to create or update the extension.
// negative test case: Starts an UpdateRun
const createOrUpdateRegex = /((create or update)|(creates or updates)|(create)|(update)|(creates)|(updates))([^a-zA-Z0-9])/gi;
operation.language.default.description = operation.language.default.description.replace(createOrUpdateRegex, `${variant.action.capitalize()}`);
operation.language.default.description = operation.language.default.description.replace(createOrUpdateRegex, `${variant.action.toLowerCase()} `);
const op = await this.addCommandOperation(vname, parameters, operation, variant, state, preOperations, commandType);

// if this has a body with it, let's add that parameter
Expand Down

0 comments on commit e1e3c5f

Please sign in to comment.