We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c75280d commit 0db77e1Copy full SHA for 0db77e1
bin/sails-generate.js
@@ -21,7 +21,7 @@ var package = require('../package.json')
21
* Internally, uses ejs for rendering the various module templates.
22
*/
23
24
-module.exports = function () {
+module.exports = function ( ) {
25
26
// Get CLI configuration
27
var config = rc('sails');
@@ -32,7 +32,8 @@ module.exports = function () {
32
sailsPackageJSON: package,
33
options: {
34
maxDepth: 5
35
- }
+ },
36
+ modules: {}
37
};
38
39
// Mix-in rc config
@@ -47,6 +48,6 @@ module.exports = function () {
47
48
scope.generatorType = cliArguments.shift();
49
scope.args = cliArguments;
50
- return sailsgen( scope, reportback.extend() );
51
+ return sailsgen( scope );
52
53
0 commit comments