andygrunwald / andygrunwald/perseus

Add command fails on windows

Aperta
#6 8 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Go
Stelle
4
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

When I try to add twig using

perseus add "twig/twig"

I get a warning

Failed to retrieve information about package "twig/twig" from Packagist. Called https://packagist.org/packages%5Ctwig%5Ctwig.json. Error: Expected a return code within 2xx for package "twig/twig". Got 404

It seems that the %5C escapes are not accepted by packagist anymore as

https://packagist.org/packages%5Ctwig%5Ctwig.json

returns the requested json

## Expected Behavior

Should just work

## Current Behavior

Fails to retrieve the package description.

## Possible Solution

## Steps to Reproduce (for bugs)

1. run perseus add "twig/twig" on windows.

## Context

## Your Environment

* Version used (`perseus version`):
* Operating System and version:
* Medusa configuration:
* Satis configuration:

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.