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

Windows path separator #69

Merged
merged 2 commits into from
Aug 26, 2016
Merged

Windows path separator #69

merged 2 commits into from
Aug 26, 2016

Conversation

doowb
Copy link
Member

@doowb doowb commented Aug 25, 2016

This PR includes the following changes:

  • Add appveyor configuration file
  • Use . pattern for jscs for windows.
  • Handle windows path separators when calculating base path on windows.

This fixes #68

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);
Copy link
Member

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?

Copy link
Member Author

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.

@phated
Copy link
Member

phated commented Aug 26, 2016

LGTM :shipit:

@phated phated merged commit 4f185ba into gulpjs:master Aug 26, 2016
@phated
Copy link
Member

phated commented Aug 26, 2016

Published as 5.3.4 - thanks again @doowb!

phated pushed a commit that referenced this pull request Feb 16, 2017
phated pushed a commit that referenced this pull request Feb 16, 2017
phated pushed a commit that referenced this pull request Feb 16, 2017
phated pushed a commit that referenced this pull request Feb 16, 2017
phated pushed a commit that referenced this pull request Feb 20, 2017
phated pushed a commit that referenced this pull request Feb 21, 2017
phated pushed a commit that referenced this pull request Feb 21, 2017
phated pushed a commit that referenced this pull request Feb 21, 2017
phated pushed a commit that referenced this pull request Feb 21, 2017
phated pushed a commit that referenced this pull request Feb 21, 2017
phated pushed a commit that referenced this pull request Feb 21, 2017
phated pushed a commit that referenced this pull request Feb 21, 2017
phated pushed a commit that referenced this pull request Feb 21, 2017
phated pushed a commit that referenced this pull request Feb 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Release 5.3.3 introduce bug on Windows with base Path
2 participants