linting fix

bunsenstraat-patch-3
aniket-engg 3 years ago committed by Aniket
parent 62747b5fbe
commit 3b3ad46383
  1. 2
      libs/remixd/src/services/hardhatClient.ts

@ -40,7 +40,7 @@ export class HardhatClient extends PluginClient {
error += `[Hardhat Compilation]: ${err.toString()} \n`
})
child.on('close', () => {
if (error && result) resolve(error + result)
if (error && result) resolve(error + result)
else if (error) reject(error)
else resolve(result)
})

Loading…
Cancel
Save