fix linting

pull/5343/head
aniket-engg 3 weeks ago committed by Aniket
parent 1d10f2290f
commit 47eb868012
  1. 2
      apps/remix-ide/src/app/udapp/run-tab.tsx
  2. 2
      apps/remix-ide/src/blockchain/blockchain.tsx

@ -316,7 +316,7 @@ class Provider {
} else { } else {
let e let e
try { try {
e = JSON.stringify(err) e = JSON.stringify(err)
} catch (e) { } catch (e) {
reject('unknown error') reject('unknown error')
return return

@ -245,7 +245,7 @@ export class Blockchain extends Plugin {
true, true,
constructor, constructor,
args, args,
(error, data) => { (error, data) => {
if (error) { if (error) {
return statusCb(`creation of ${selectedContract.name} errored: ${error.message ? error.message : error.error ? error.error : error}`) return statusCb(`creation of ${selectedContract.name} errored: ${error.message ? error.message : error.error ? error.error : error}`)
} }

Loading…
Cancel
Save