-
Notifications
You must be signed in to change notification settings - Fork 12k
fix(generate): fix style and template url references #341
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -13,7 +14,9 @@ module.exports = { | |||
|
|||
locals: function(options) { | |||
return { | |||
dynamicPath: this.dynamicPath.dir | |||
dynamicPath: this.dynamicPath.dir === path.sep |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this sounds like a path.resolve(this.dynamicPath.dir)
or something like that, no?
Please add a test for this. |
78e7374
to
fbe6cba
Compare
@@ -1,5 +1,6 @@ | |||
var stringUtils = require('ember-cli/lib/utilities/string'); | |||
var dynamicPathParser = require('../../utilities/dynamic-path-parser'); | |||
var path = require('path'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: not needed anymore.
2 nits, but LGTM. Stamping this. Good work! :) |
Dynamic paths for components were incorrectly generating paths for templates and styles Fixes angular#340
fbe6cba
to
5ee4f2b
Compare
Thanks @hansl nits have been handled/updated |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Dynamic paths for components were incorrectly generating paths for templates and styles
Fixes #340