forked from naskya/firefish
refactor (minor): remove unneeded file and make code more readable
This commit is contained in:
parent
14d32d420f
commit
dbe4fd335e
2 changed files with 1 additions and 4 deletions
|
@ -1 +0,0 @@
|
|||
v18.16.0
|
|
@ -148,9 +148,7 @@ function showNodejsVersion(): void {
|
|||
|
||||
nodejsLogger.info(`Version ${process.version} detected.`);
|
||||
|
||||
const minVersion = fs
|
||||
.readFileSync(`${_dirname}/../../../../.node-version`, "utf-8")
|
||||
.trim();
|
||||
const minVersion = "v18.16.0";
|
||||
if (semver.lt(process.version, minVersion)) {
|
||||
nodejsLogger.error(`At least Node.js ${minVersion} required!`);
|
||||
process.exit(1);
|
||||
|
|
Loading…
Reference in a new issue