"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.doBasicRequirementCheck = doBasicRequirementCheck;

/* eslint-disable no-throw-literal */
function doBasicRequirementCheck() {
  const majorV = Number(process.version.slice(1, 4));

  if (majorV >= 12 && majorV <= 18) {
    return true;
  }

  throw `your node version not compatible with this cli please update node version to 12 - 18, and your current version is ${process.version}`;
}