Skip to content
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

Convert all path sep to unix in config. Fixes #121 #137

Merged
merged 1 commit into from
Apr 17, 2016

Conversation

brollb
Copy link
Contributor

@brollb brollb commented Apr 17, 2016

No description provided.

@brollb
Copy link
Contributor Author

brollb commented Apr 17, 2016

@pmeijer - Do you mind checking this out?

@@ -51,7 +51,7 @@ DecoratorManager.prototype.new = function(options, callback) {

// Get the src, test paths
var setupConfig = R.mapObjIndexed(function(empty, type) {
return path.join(type, 'decorators', name+'Decorator');
return `${type}/decorators/${name}Decorator`;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've never seen this before (the '${var}'..).
Is it some built in template?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am using ES6 and using babel to cross compile down to es5. These are ES6 string templates - basically they are strings with interpolation. ie, 'hello ' + name + ', my name is ' + me is the same as 'hello ${name}, my name is ${me}'

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, had a feeling that was the case. Thanks for the fix btw!

@pmeijer pmeijer merged commit b48bb54 into master Apr 17, 2016
@brollb brollb deleted the 121-windows-paths-config branch April 28, 2016 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants