From 7584d2d7a7110aef0331ebfa178b2295842c59fa Mon Sep 17 00:00:00 2001 From: MCMXC <16797721+mcmxcdev@users.noreply.github.com> Date: Sat, 10 Feb 2024 18:19:14 -0700 Subject: refactor: project maintenance - work in progress --- commands/index.ts | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 commands/index.ts (limited to 'commands') diff --git a/commands/index.ts b/commands/index.ts deleted file mode 100644 index d2ad5fb..0000000 --- a/commands/index.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { listDirectoryFiles } from '@adonisjs/core/build/standalone'; -import Application from '@ioc:Adonis/Core/Application'; - -/* -|-------------------------------------------------------------------------- -| Exporting an array of commands -|-------------------------------------------------------------------------- -| -| Instead of manually exporting each file from this directory, we use the -| helper `listDirectoryFiles` to recursively collect and export an array -| of filenames. -| -| Couple of things to note: -| -| 1. The file path must be relative from the project root and not this directory. -| 2. We must ignore this file to avoid getting into an infinite loop -| -*/ -export default listDirectoryFiles(__dirname, Application.appRoot, [ - './commands/index', -]); -- cgit v1.2.3-70-g09d2