Skip to content

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

Merged
francoispluchino merged 2 commits into
fxpio:masterfrom
hypeJunction:npm-signature
May 22, 2018
Merged

francoispluchino merged 2 commits into
fxpio:masterfrom
hypeJunction:npm-signature

Conversation

@hypeJunction

@hypeJunction hypeJunction commented May 22, 2018 •

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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
Copy Markdown
Contributor Author

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

@francoispluchino

Copy link
Copy Markdown
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
Copy Markdown
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