diff --git a/src/code_transformer/rc_file_transformer.ts b/src/code_transformer/rc_file_transformer.ts index b81c101b..18d868c3 100644 --- a/src/code_transformer/rc_file_transformer.ts +++ b/src/code_transformer/rc_file_transformer.ts @@ -172,7 +172,7 @@ export class RcFileTransformer { * Add a new command to the rcFile */ addCommand(commandPath: string) { - const commandsProperty = this.#getPropertyAssignmentInDefineConfigCall('providers', '[]') + const commandsProperty = this.#getPropertyAssignmentInDefineConfigCall('commands', '[]') const commandsArray = commandsProperty.getInitializerIfKindOrThrow( SyntaxKind.ArrayLiteralExpression )