Skip to content

use standard path.normalize instead of own implementation #10

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

el-dot
Copy link

@el-dot el-dot commented Nov 26, 2016

current implementation do not cares about up folder string (..) if it is last in path, so 'path1/../../path2' becomes 'path2' instead of '../path2' it acctually crashes some concated files if asset is in separate folder branch.
And there is actually standard and tested implementation of normalize in standard node lib already required.

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.

1 participant