We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 381d949 commit 2e8bd54Copy full SHA for 2e8bd54
script-base.js
@@ -16,7 +16,7 @@ var Generator = module.exports = function Generator() {
16
this.lodash = lodash;
17
18
if(!process.env.CI) {
19
- yoCheckPromise = genUtils.runCmd('yo --version').then(stdout => {
+ yoCheckPromise = genUtils.runCmd('yo --version').then(function(stdout) {
20
if(!semver.satisfies(semver.clean(stdout), '>= 1.7.1')) {
21
throw new Error('ERROR: You need to update yo to at least 1.7.1 (npm i -g yo)');
22
}
0 commit comments