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

Fix "Unknown downloader type: npm-signature" exception #324

Merged
merged 2 commits into from
May 22, 2018
Merged

Fix "Unknown downloader type: npm-signature" exception #324

merged 2 commits into from
May 22, 2018

Conversation

hypeJunction
Copy link
Contributor

@hypeJunction hypeJunction commented May 22, 2018

Dist entry resolution is now restricted to downloader types
known by composer. Effectively this means that composer-asset-plugin
will skip all dist entries that link to custom vendor protocol
implementations, e.g. npm-signature.

Fixes #321

Replaces #323

@francoispluchino
Copy link
Member

Thank you for your PR, but can you use the tool php-cs-fixer to respect the code style? I still have to add the doc for contributions.

  1. Download/Install the tool
  2. Run the command: $ php php-cs-fixer.phar fix

@hypeJunction
Copy link
Contributor Author

Well, cs-fixer fixed unrelated cs violations...

@francoispluchino
Copy link
Member

Ok, new rules have been introduced since the last commit. Can you keep only the code fixing the bug for this PR, and if you wish, propose another PR for the CS? Otherwise I will do this last....

I could quickly merge your PRs. Thank you.

Zaporozhec7 and others added 2 commits May 22, 2018 11:57
Dist entry resolution is now restricted to downloader types
known by composer. Effectively this means that composer-asset-plugin
will skip all dist entries that link to custom vendor protocol
implementations, e.g. npm-signature.

Fixes #321
@francoispluchino francoispluchino added this to the 1.4.3 milestone May 22, 2018
@francoispluchino francoispluchino merged commit 3053ecf into fxpio:master May 22, 2018
@francoispluchino
Copy link
Member

@hypeJunction Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

Problems installing NPM-assets
3 participants