summary refs log tree commit diff
path: root/scripts/util/getRouteDescriptions.js
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-12-18 21:54:21 +0100
committerRory& <root@rory.gay>2025-12-18 21:54:21 +0100
commitd8c5448248e2d15b1c8fcc866cc79007d0021775 (patch)
treec2f66a01b6fc251d7b633f1fbe1ea73a86476883 /scripts/util/getRouteDescriptions.js
parentFix identify trace (diff)
downloadserver-ts-d8c5448248e2d15b1c8fcc866cc79007d0021775.tar.xz
More gateway trace
Diffstat (limited to 'scripts/util/getRouteDescriptions.js')
-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)}`);