linting fix

pull/1342/head
aniket-engg 3 years ago committed by davidzagi93@gmail.com
parent 861acee6a1
commit eeef9f0723
  1. 2
      libs/remixd/src/services/hardhatClient.ts

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

Loading…
Cancel
Save