From 05502c29ab3e5305fb944ed8e5ca7450638c365b Mon Sep 17 00:00:00 2001 From: Ryan Panning Date: Tue, 23 Dec 2014 00:16:04 -0600 Subject: [PATCH] Enable running blueprint without entity name Missed a comma after description and fix issue running blueprint without an entity name. Fixes #6 --- blueprints/ember-cli-bootswatch/index.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/blueprints/ember-cli-bootswatch/index.js b/blueprints/ember-cli-bootswatch/index.js index 4e212df..6ec0fb0 100644 --- a/blueprints/ember-cli-bootswatch/index.js +++ b/blueprints/ember-cli-bootswatch/index.js @@ -1,5 +1,11 @@ module.exports = { - description: 'Add bower dependencies for bootstrap and bootswatch to the project' + description: 'Add bower dependencies for bootstrap and bootswatch to the project', + + normalizeEntityName: function() { + // allows us to run ember -g ember-cli-bootswatch and not blow up + // because ember cli normally expects the format + // ember generate + }, afterInstall: function(options) { return this.addBowerPackagesToProject([