summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorCyber <cyber.hf18@gmail.com>2025-12-18 22:05:12 +0100
committerGitHub <noreply@github.com>2025-12-18 22:05:12 +0100
commitc984dbbd3fc57588027172a4fa29d5ff007a51dd (patch)
tree4bb51b8e016dd55ed24567566c9ea3eb77cbb14b /scripts
parentchore: run prettier (again) (diff)
parentMore gateway trace (diff)
downloadserver-ts-c984dbbd3fc57588027172a4fa29d5ff007a51dd.tar.xz
Merge branch 'master' into feat/forwards
Diffstat (limited to 'scripts')
-rw-r--r--scripts/util/getRouteDescriptions.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/util/getRouteDescriptions.js b/scripts/util/getRouteDescriptions.js

index 87f1d4eb..5896f049 100644 --- a/scripts/util/getRouteDescriptions.js +++ b/scripts/util/getRouteDescriptions.js
@@ -46,7 +46,7 @@ function proxy(file, apiMethod, apiPathPrefix, apiPath, ...args) { const opts = args.find((x) => x?.prototype?.OPTS_MARKER == true); if (!opts) return console.error( - ` \x1b[5m${bgRedBright("ERROR")}\x1b[25m ${file.replace(path.resolve(__dirname, "..", "..", "dist"), "/src")} has route without route() description middleware: ${colorizeMethod(apiMethod)} ${formatPath(apiPath)}`, + ` \x1b[5m${bgRedBright("ERROR")}\x1b[25m ${file.replace(path.resolve(__dirname, "..", "..", "dist"), "/src/")} has route without route() description middleware: ${colorizeMethod(apiMethod)} ${formatPath(apiPath)}`, ); console.log(`${colorizeMethod(apiMethod).padStart("DELETE".length + 10)} ${formatPath(apiPathPrefix + apiPath)}`);