Skip to content

Commit

Permalink
fix(@angular/cli): create app.component.styl for Stylus. (#4540)
Browse files Browse the repository at this point in the history
  • Loading branch information
catull authored and hansl committed Feb 9, 2017
1 parent 15b6d9c commit 0f7a35f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@angular/cli/blueprints/ng2/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default Blueprint.extend({
},

locals: function(options: any) {
this.styleExt = options.style;
this.styleExt = options.style === 'stylus' ? 'styl' : options.style;
this.version = require(path.resolve(__dirname, '../../package.json')).version;
// set this.tests to opposite of skipTest options,
// meaning if tests are being skipped then the default.spec.BLUEPRINT will be false
Expand Down

0 comments on commit 0f7a35f

Please sign in to comment.