File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ export class Command extends Ditamap {
37
37
const flags = ensureObject ( command . flags ) ;
38
38
const parameters = this . getParametersForTemplate ( flags as Dictionary < CommandHelpInfo > ) ;
39
39
40
- const summmary = punctuate ( asString ( command . summary ) ) ;
40
+ const summary = punctuate ( asString ( command . summary ) ) ;
41
41
42
42
const description = asString ( command . description ) ;
43
43
@@ -83,7 +83,7 @@ export class Command extends Ditamap {
83
83
topicSeparator : commandMeta . topicSeparator ,
84
84
commandWithUnderscores,
85
85
examples,
86
- summmary ,
86
+ summary ,
87
87
description,
88
88
help,
89
89
parameters,
Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ export class Docs {
118
118
// The topic ditamap with all of the subtopic links.
119
119
events . emit ( 'subtopics' , topic , subTopicNames ) ;
120
120
121
- if ( commandIds . includes ( topic ) ) {
121
+ if ( ! commandIds . includes ( topic ) ) {
122
122
await new CLIReferenceTopic ( topic , description ) . write ( ) ;
123
123
}
124
124
await new TopicCommands ( topic , topicMeta ) . write ( ) ;
You can’t perform that action at this time.
0 commit comments