|
|
|
@ -82,7 +82,7 @@ commander |
|
|
|
|
const baseURL = 'https://binaries.soliditylang.org/wasm/' |
|
|
|
|
const response: AxiosResponse = await axios.get(baseURL + 'list.json') |
|
|
|
|
const { releases, latestRelease } = response.data |
|
|
|
|
const compString = releases[compVersion] |
|
|
|
|
const compString = releases ? releases[compVersion] : null |
|
|
|
|
if (!compString) { |
|
|
|
|
log.error(`No compiler found in releases with version ${compVersion}`) |
|
|
|
|
process.exit() |
|
|
|
|