mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-02 12:00:10 +08:00
unnecessary check
This commit is contained in:
parent
fe77999eaa
commit
5169f20ece
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ export async function connect(): Promise<void> {
|
|||
|
||||
const { REDIS_URI, MODE } = process.env;
|
||||
|
||||
if (!REDIS_URI && MODE !== "dev") {
|
||||
if (!REDIS_URI) {
|
||||
if (MODE === "dev") {
|
||||
Logger.warning("No redis configuration provided. Running without redis.");
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue