Skip to content

Commit

Permalink
fix(@angular/cli): fixing empty prefix issue when creating new app (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
sumitarora authored and filipesilva committed Mar 24, 2017
1 parent d2b28dd commit b25aef2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@angular/cli/tasks/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export default Task.extend({
rawArgs: rawArgs.toString(),
sourceDir: commandOptions.sourceDir,
style: commandOptions.style,
prefix: commandOptions.prefix,
prefix: commandOptions.prefix.trim() || 'app',
routing: commandOptions.routing,
inlineStyle: commandOptions.inlineStyle,
inlineTemplate: commandOptions.inlineTemplate,
Expand Down

0 comments on commit b25aef2

Please sign in to comment.