fix: standardize command import paths to lowercase for consistency

This commit is contained in:
2025-05-01 17:56:55 -04:00
parent 748d438706
commit 0cd3b5c179
9 changed files with 22 additions and 9 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ export async function loadCommands(commandsPath, logger) {
const commandModule = await import(filePath);
const Command = commandModule.default;
const CommandBase = (await import('./Command.js')).default;
const CommandBase = (await import('./command.js')).default;
if (Command.prototype instanceof CommandBase) {
// New style - class extending Command
const commandInstance = new Command();