@ -67,8 +67,8 @@ function checkEnvironment(reqs) {
|
||||
|
||||
if (!semver.satisfies(foundNodeVersion, reqs.requiredNodeVersion)) {
|
||||
issues.push(
|
||||
'You are running unsupported node version. Found: ' + foundNodeVersion + ' Expected: ' +
|
||||
reqs.requiredNodeVersion + '. Use nvm to update your node version.');
|
||||
'You are running unsupported node version. Found: ' + foundNodeVersion +
|
||||
' Expected: ' + reqs.requiredNodeVersion + '. Use nvm to update your node version.');
|
||||
}
|
||||
|
||||
if (yarnErr) {
|
||||
@ -99,7 +99,9 @@ function printWarning(issues) {
|
||||
console.warn('');
|
||||
console.warn('!'.repeat(110));
|
||||
console.warn('!!! Your environment is not in a good shape. Following issues were found:');
|
||||
issues.forEach(function(issue) { console.warn('!!! - ' + issue); });
|
||||
issues.forEach(function(issue) {
|
||||
console.warn('!!! - ' + issue);
|
||||
});
|
||||
console.warn('!'.repeat(110));
|
||||
console.warn('');
|
||||
|
||||
|
Reference in New Issue
Block a user