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

(docz-core) handle props on windows #1151

Merged
merged 6 commits into from
Oct 6, 2019
Merged

(docz-core) handle props on windows #1151

merged 6 commits into from
Oct 6, 2019

Conversation

jesperorb
Copy link

@jesperorb jesperorb commented Oct 2, 2019

Description

Draft for fix for finding and parsing files on Windows (#1091 )

Not tested more than the supplied test that I am getting back props when setting state. Primarily fastglob needs forward slashed which it was not getting.

  • Is there occasions where forward slashes should not be used in the state of the application, when is it a problem?

expect(readCacheFile()).not.toBeNull()
})
})
})
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

@rakannimer
Copy link
Contributor

Nice PR ( and tests ) ! 👍

Is there occasions where forward slashes should not be used in the state of the application, when is it a problem?

Edge case for sure but maybe when escaping a character ?

For example :

mkdir -p test/a@b
cd test/a\@b

@jesperorb jesperorb marked this pull request as ready for review October 6, 2019 11:32
@rakannimer rakannimer merged commit ee71ef8 into doczjs:master Oct 6, 2019
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