Change: kubectl and service image
Some checks failed
Build image and deploy / release-image (push) Successful in 1m52s
Build image and deploy / deploy (push) Failing after 47s

This commit is contained in:
2024-10-18 16:24:02 +00:00
parent 8464b1e2a8
commit f98b81d3b3
9 changed files with 76 additions and 102 deletions

View File

@@ -11,8 +11,8 @@ export async function loadCommands(client: ExtendedClient): Promise<Array<string
for(const folder of commandFolders){
const commandsPath = path.join(foldersPath, folder);
const commandsFiles = path.basename(__filename).endsWith('.ts')
? readdirSync(commandsPath).filter(file => file.endsWith('.ts'))
: readdirSync(commandsPath).filter(file => file.endsWith('.js'));
? readdirSync(commandsPath).filter(file => file.endsWith('.ts'))
: readdirSync(commandsPath).filter(file => file.endsWith('.js'));
for(const file of commandsFiles){
const filePath = path.join(commandsPath, file);
const data = await import(filePath);