You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -21,19 +21,24 @@ export class Command extends Ditamap {
21
21
super(filename,{});
22
22
23
23
constparameters=Object.entries(flags)
24
-
.filter(([,flag])=>!flag.hidden)
25
-
.map(([flagName,flag])=>{
26
-
if(!flag.longDescription){
27
-
events.emit('warning',`No flag longDescription for command ${chalk.bold(command.id)} on flag ${flagName}. That command owner must add the longDescription to the flag definition.`);
@@ -44,7 +49,12 @@ export class Command extends Ditamap {
44
49
}
45
50
46
51
if(!command.longDescription){
47
-
events.emit('warning',`No longDescription for command ${chalk.bold(command.id)}. That command owner must add the longDescription to the command definition.`);
52
+
events.emit(
53
+
'warning',
54
+
`No longDescription for command ${chalk.bold(
55
+
command.id
56
+
)}. That command owner must add the longDescription to the command definition.`
@@ -24,7 +24,12 @@ export class MainTopicIntro extends Ditamap {
24
24
}
25
25
26
26
if(!subTopicMeta.longDescription){
27
-
events.emit('warning',`No long description for topic ${chalk.bold(topic+':'+subtopic)}. That topic owner must add a longDescription to the topic metadata in the oclif section in the package.json file within their plugin.`);
27
+
events.emit(
28
+
'warning',
29
+
`No long description for topic ${chalk.bold(
30
+
topic+':'+subtopic
31
+
)}. That topic owner must add a longDescription to the topic metadata in the oclif section in the package.json file within their plugin.`
0 commit comments