From 3bd34b57e4178434accc4eadef96300d9899c698 Mon Sep 17 00:00:00 2001 From: filip mertens Date: Mon, 1 May 2023 13:27:17 +0200 Subject: [PATCH] nightly --- apps/remix-ide/ci/download_e2e_assets.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/apps/remix-ide/ci/download_e2e_assets.js b/apps/remix-ide/ci/download_e2e_assets.js index eb9413fb5d..7d6a848fd5 100644 --- a/apps/remix-ide/ci/download_e2e_assets.js +++ b/apps/remix-ide/ci/download_e2e_assets.js @@ -20,7 +20,12 @@ if (soljson) { if (version) { let url = '' - url = `https://binaries.soliditylang.org/bin/soljson${version}.js`; + // if nightly + if (version.includes('nightly')) { + url = `https://binaries.soliditylang.org/bin/soljson${version}.js`; + }else{ + url = `https://binaries.soliditylang.org/wasm/soljson${version}.js`; + } const dir = './dist/apps/remix-ide/assets/js/soljson'; if (!fs.existsSync(dir)) {