summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-12-13 02:01:32 +0100
committerRory& <root@rory.gay>2025-12-13 02:01:32 +0100
commitdae89fd0afe54a9ab05e2f5484a40ae9101b1a82 (patch)
tree98365829d6ae2140611fa696bc9d539407febad4 /scripts
parentFix CI tests (diff)
downloadserver-ts-dae89fd0afe54a9ab05e2f5484a40ae9101b1a82.tar.xz
Instance ban stuff
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 9f329f32..0372aae7 100644 --- a/scripts/util/getRouteDescriptions.js +++ b/scripts/util/getRouteDescriptions.js
@@ -49,7 +49,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)}`);