Update rateLimit.ts

This commit is contained in:
zomars
2023-07-14 16:02:10 -07:00
parent 67a210d439
commit fcc13da23d
+1 -1
View File
@@ -36,7 +36,7 @@ let warningDisplayed = false;
/** Prevent flooding the logs while testing/building */
function logOnce(message: string) {
if (!warningDisplayed) return;
if (warningDisplayed) return;
log.warn(message);
warningDisplayed = true;
}