wasmerio / wapm-cli

📦 WebAssembly Package Manager (CLI)
https://wapm.io/
MIT License
372 stars 26 forks source link

Registry set url should not fallback if location is not accessible #269

Closed syrusakbary closed 2 years ago

syrusakbary commented 2 years ago

wapm config set registry.url should always set the registry to the provided location (it might be down for whatever reason).

Basically, it should not fall back to the default one. It should just print a warning notifying that the registry doesn't seem accessible

fschutt commented 2 years ago

Do a warning instead of an error