Skip to content

Fix isRemoteUri#52

Merged
raphinesse merged 3 commits into
apache:masterfrom
raphinesse:fix-is-remote
Nov 6, 2019
Merged

Fix isRemoteUri#52
raphinesse merged 3 commits into
apache:masterfrom
raphinesse:fix-is-remote

Conversation

@raphinesse

Copy link
Copy Markdown
Contributor

Motivation and Context

Fixes #34

Description

We use npm-package-arg to determine to what a spec refers. That's the package used by npm for spec parsing.

Testing

Added unit tests before the change, including one failing for #34. Tests all pass after change.

Including one failing test for paths that include @
The reason for the rename is, that there are also local specs where we
need to call fetch. For example tarballs.
@raphinesse raphinesse added the bug label Nov 6, 2019
@raphinesse raphinesse added this to the 3.0.0 milestone Nov 6, 2019

@breautek breautek left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I didn't test it myself but lets good 👍

Comment thread package.json
@raphinesse
raphinesse merged commit d894243 into apache:master Nov 6, 2019
@raphinesse
raphinesse deleted the fix-is-remote branch November 6, 2019 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cordova create fails if installed with "@" in the path

4 participants