fix handling of remix tests sol file

pull/1/head
Iuri Matias 7 years ago committed by yann300
parent aba399e12c
commit 81dfe515d0
  1. 4
      src/app.js

@ -242,7 +242,9 @@ Please make a backup of your contracts and start using http://remix.ethereum.org
},
(error, content, cleanUrl, type, url) => {
if (!error) {
filesProviders[type].addReadOnly(cleanUrl, content, url)
if (filesProviders[type]) {
filesProviders[type].addReadOnly(cleanUrl, content, url)
}
cb(null, content)
} else {
cb(error)

Loading…
Cancel
Save