Display node version on startup

This commit is contained in:
Cohee 2024-03-15 15:30:13 +02:00
parent a12793a9ac
commit cbc14279e7
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ const cliArguments = yargs(hideBin(process.argv))
}).parseSync();
// change all relative paths
console.log(`Running in ${process.env.NODE_ENV} environment`);
console.log(`Node version: ${process.version}. Running in ${process.env.NODE_ENV} environment.`);
const serverDirectory = __dirname;
process.chdir(serverDirectory);