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

fixed bug with wrong paths for watchlist files #282

Merged
merged 2 commits into from
May 20, 2016

Conversation

Jany-M
Copy link
Contributor

@Jany-M Jany-M commented May 20, 2016

added rule to replace wrong forward slashes, with backslashes, in file
path - line 219

added rule to replace wrong forward slashes, with backslashes, in file
path - line 219
@elistone
Copy link
Contributor

@Jany-M I have not check this on a mac, however could you change it to the following

if process.platform == "win32"
    filesName = filesName.replace(/\//g, '\\')

as otherwise its going to convert all backslashes on OSX to forward.

@Jany-M
Copy link
Contributor Author

Jany-M commented May 20, 2016

@elistone the replace converts the forward slashes to backslashes (not the other way around).
I added the if though!

@elistone elistone merged commit 66218bf into yongkangchen:master May 20, 2016
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.

2 participants