Skip to content

Commit

Permalink
fix: remove unused hooks prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
mshanemc committed Jul 25, 2023
1 parent 7e60677 commit 19aa710
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 13 deletions.
8 changes: 2 additions & 6 deletions messages/plugin.generator.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ The name must be a valid npm package name:
- All the characters in the package name must be lowercase i.e., no uppercase or mixed case names are allowed
- Package name can consist of hyphens
- Package name must not contain any non-url-safe characters (since name ends up being part of a URL)
- Package name should not start with . or _
- Package name should not start with . or \_
- Package name should not contain any spaces
- Package name should not contain any of the following characters: ~)('!*
- Package name should not contain any of the following characters: ~)('!\*
- Package name cannot be the same as a node.js/io.js core module nor a reserved/blacklisted name
- Package name length cannot exceed 214

Expand All @@ -43,7 +43,3 @@ Enter the author of the plugin:
# question.code-coverage

Select the % code coverage do you want to enforce:

# question.hooks

Select the existing "sf" commands you plan to extend:
1 change: 0 additions & 1 deletion test/commands/dev/generate/flag.nut.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ function getLocalBin(...parts: string[]): string {
'internal Salesforce team': Interaction.Yes,
'name of your new plugin': ['plugin-awesome', Interaction.ENTER],
'description for your plugin': ['a description', Interaction.ENTER],
'Select the existing "sf" commands you plan to extend': Interaction.ENTER,
},
{ cwd: session.dir, ensureExitCode: 0 }
);
Expand Down
6 changes: 0 additions & 6 deletions test/commands/dev/generate/plugin.nut.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,6 @@ describe('dev generate plugin NUTs', () => {
'internal Salesforce team': Interaction.Yes,
'name of your new plugin': ['plugin-awesome', Interaction.ENTER],
'description for your plugin': ['a description', Interaction.ENTER],
'Select the existing "sf" commands you plan to extend': [
Interaction.SELECT,
Interaction.DOWN,
Interaction.SELECT,
Interaction.ENTER,
],
},
{ cwd: session.dir, ensureExitCode: 0 }
);
Expand Down

0 comments on commit 19aa710

Please sign in to comment.