@forge/manifest

13.3.2-next.013.3.2-next.1
out/validators/modules-validator.js
~out/validators/modules-validator.jsModified
+1−1
Index: package/out/validators/modules-validator.js
===================================================================
--- package/out/validators/modules-validator.js
+++ package/out/validators/modules-validator.js
@@ -224,9 +224,9 @@
             }
             else {
                 const matches = this.functionHandlerRegex.exec(func.handler);
                 const fileName = matches ? matches[1] : undefined;
-                const _checkFileExists = (fileName) => ['tsx', 'jsx', 'ts', 'js'].some((ext) => (0, fs_1.existsSync)((0, path_1.resolve)((0, path_1.dirname)(filePath), handlersDirectory, `${fileName}.${ext}`)));
+                const _checkFileExists = (fileName) => utils_1.HANDLER_EXTENSIONS.some((ext) => (0, fs_1.existsSync)((0, path_1.resolve)((0, path_1.dirname)(filePath), handlersDirectory, `${fileName}.${ext}`)));
                 if (!_checkFileExists(fileName)) {
                     validationErrors.push({
                         message: text_1.errors.modules.function.handler.fileNotExists(func.handler, fileName),
                         reference: text_1.References.Modules,