-
-
Notifications
You must be signed in to change notification settings - Fork 51
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
Windows path separator #69
Conversation
Use `.` pattern for jscs for windows. Handle windows path separators when calculating base path on windows.
var parent = globParent(ourGlob); | ||
|
||
if (parent === '/' && opt && opt.root) { | ||
basePath = path.join(opt.root); |
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.
would this be path.normalize
since you aren't joining anything?
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.
Yeah, .normalize
would be better. I'll change that.
LGTM |
Published as 5.3.4 - thanks again @doowb! |
This PR includes the following changes:
.
pattern for jscs for windows.This fixes #68