Skip to content

Commit 1c746cd

Browse files
committed
chore: apply changes from review
1 parent 6fe9aa5 commit 1c746cd

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/commands/commandreference/generate.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,8 @@ export default class CommandReferenceGenerate extends SfCommand<AnyJson> {
142142
return { warnings };
143143
}
144144

145-
private pluginMap(plugins: string[]): Record<string, unknown> {
146-
const pluginToParentPlugin: Record<string, unknown> = {};
145+
private pluginMap(plugins: string[]): Record<string, string> {
146+
const pluginToParentPlugin: Record<string, string> = {};
147147

148148
const resolveChildPlugins = (parentPlugin: Interfaces.Plugin): void => {
149149
for (const childPlugin of parentPlugin.pjson.oclif.plugins ?? []) {
@@ -168,7 +168,7 @@ export default class CommandReferenceGenerate extends SfCommand<AnyJson> {
168168
}
169169

170170
private async loadTopicMetadata(): Promise<Record<string, unknown>> {
171-
const plugins: Record<string, unknown> = {};
171+
const plugins: Record<string, boolean> = {};
172172
const topicsMeta: Record<string, unknown> = {};
173173

174174
for (const cmd of this.config.commands) {

0 commit comments

Comments
 (0)