From bc91efcb96dae64c17a22d8529acc749510be806 Mon Sep 17 00:00:00 2001 From: Bert De Block Date: Mon, 21 Oct 2024 15:45:29 +0200 Subject: [PATCH] Include `.gjs` and `.js` files --- src/helpers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helpers.ts b/src/helpers.ts index 1fc50bb..2910de8 100644 --- a/src/helpers.ts +++ b/src/helpers.ts @@ -20,7 +20,7 @@ export async function getEntries(directory: string): Promise { const path = join(directory, entryType); if (await pathExists(path)) { - const files = await glob("**/*.{gts,ts}", { cwd: path }); + const files = await glob("**/*.{gjs,gts,js,ts}", { cwd: path }); const filesSorted = files.sort(); for (let index = 0; index < filesSorted.length; index++) {