dce-dev-wizard
Version:
Wizard for managing development apps at Harvard DCE.
20 lines (15 loc) • 522 B
text/typescript
/**
* This code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
;
var nodeVersion = process.versions.node;
var parts = nodeVersion.split('.');
var majorVersion = Number.parseFloat(parts[0]);
if (majorVersion < 10) {
console.error('Oops! You are running node version ' + majorVersion + '.');
console.log('DCE Dev Wizard requires Node 10 or higher. Please update your version of Node.');
} else {
require('./index');
}