We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
lib/core/resolverFactory.js:61
absolutePath = path.resolve(config.cwd, source); if (/^\.\.?[\/\\]/.test(source) || /^~\//.test(source) || path.normalize(source) === absolutePath) {
path.resolve removes trailing slashes, whereas path.normalize does not.
As an example, bower install /home/omsmith/dev/gitrepo/ fails where bower install /home/omsmith/dev/gitrepo succeeds.
bower install /home/omsmith/dev/gitrepo/
bower install /home/omsmith/dev/gitrepo
The text was updated successfully, but these errors were encountered:
Good catch!
Sorry, something went wrong.
60c522a
Merge pull request #901 from bower/absolute-path-slash
b460306
Fix absolute paths ending with / not going through the FsResolver, fixes #898
Great, hadn't gotten around to putting together a fix, so thanks for grabbing it!
No branches or pull requests
lib/core/resolverFactory.js:61
path.resolve removes trailing slashes, whereas path.normalize does not.
As an example,
bower install /home/omsmith/dev/gitrepo/
fails wherebower install /home/omsmith/dev/gitrepo
succeeds.The text was updated successfully, but these errors were encountered: