From a176125795947aa9063a953488600ebd6925721d Mon Sep 17 00:00:00 2001 From: lcampos Date: Mon, 30 Sep 2024 09:04:57 -0700 Subject: [PATCH] Revert "Fix min NodeJS version check (#276)" (#277) This reverts commit a6262696489aad0d83d53669525daae097a27151. --- packages/cli/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli/src/index.ts b/packages/cli/src/index.ts index 170e7aa..0bd0e21 100644 --- a/packages/cli/src/index.ts +++ b/packages/cli/src/index.ts @@ -11,7 +11,7 @@ dotenv.config(); const MIN_NODE_VERSION = "20.0.0"; -if (!gte(MIN_NODE_VERSION, process.versions.node)) { +if (gte(MIN_NODE_VERSION, process.versions.node)) { await printCriticalFailureToConsoleAndExit( `The Rate My OpenAPI CLI requires at least node.js v${MIN_NODE_VERSION}. You are using v${process.versions.node}. Please update your version of node.js.