@mintlify/cli 4.0.1392 → 4.0.1393

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/helpers.js CHANGED
@@ -43,8 +43,8 @@ export const checkNodeVersion = () => __awaiter(void 0, void 0, void 0, function
43
43
  const versionArr = nodeVersionString.split('.');
44
44
  const majorVersion = parseInt(versionArr[0], 10);
45
45
  const minorVersion = parseInt(versionArr[1], 10);
46
- if (majorVersion >= 25) {
47
- addLog(_jsx(ErrorLog, { message: `mintlify is not supported on node versions 25+ (current version ${nodeVersionString}). Please downgrade to an LTS node version.` }));
46
+ if (majorVersion === 25) {
47
+ addLog(_jsx(ErrorLog, { message: `mintlify is not supported on node 25 (current version ${nodeVersionString}). Please switch to an LTS node version.` }));
48
48
  yield terminate(1);
49
49
  }
50
50
  if (majorVersion < 20 || (majorVersion === 20 && minorVersion < 17)) {