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 ba43e2c commit 245fcf5Copy full SHA for 245fcf5
lib/index.js
@@ -186,6 +186,12 @@ class Generator extends EventEmitter {
186
});
187
188
this.resolved = this.options.resolved || __dirname;
189
+ this.description = this.description || '';
190
+
191
+ if (this.options.help) {
192
+ this.options.localConfigOnly = true;
193
+ }
194
195
this.env = this.options.env;
196
197
// Make sure we have a full featured environment.
@@ -223,8 +229,6 @@ class Generator extends EventEmitter {
223
229
224
230
this.fs = require('mem-fs-editor').create(this.env.sharedFs);
225
231
226
- this.description = this.description || '';
227
-
228
232
// Place holder for run-async callback.
233
this.async = () => () => {};
234
0 commit comments