Skip to content

Commit ca5b72a

Browse files
authored
fix: skip dev plugins when no plugins specified (#369)
1 parent 316b153 commit ca5b72a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/commands/commandreference/generate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export default class CommandReferenceGenerate extends SfCommand<CommandReference
7878

7979
let pluginNames: string[];
8080
if (!flags.plugins && !flags.all) {
81-
pluginNames = this.loadedConfig.plugins.map((p) => p.name);
81+
pluginNames = this.loadedConfig.plugins.filter((p) => p.type !== 'dev').map((p) => p.name);
8282
} else if (flags.all) {
8383
const ignore = [
8484
/@oclif/,

0 commit comments

Comments
 (0)