From 08021c77767d6ce23d10c9b64e206e9200e73887 Mon Sep 17 00:00:00 2001 From: Kasun Date: Sat, 7 May 2016 16:55:09 +1200 Subject: [PATCH] Prevent crash on `seed:make` - `template` no longer accepts 3 arguments. Fixed by removing `null` --- src/seed/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/seed/index.js b/src/seed/index.js index 85aae8f1dc..43cddc2007 100644 --- a/src/seed/index.js +++ b/src/seed/index.js @@ -89,7 +89,7 @@ Seeder.prototype._validateSeedStructure = function(name) { Seeder.prototype._generateStubTemplate = function() { var stubPath = this.config.stub || path.join(__dirname, 'stub', this.config.extension + '.stub'); return Promise.promisify(fs.readFile, {context: fs})(stubPath).then(function(stub) { - return template(stub.toString(), null, {variable: 'd'}); + return template(stub.toString(), {variable: 'd'}); }); };