pull/5370/head
filip mertens 1 year ago
parent 93e0ba5b3a
commit 753e7f6a9c
  1. 2
      apps/remixdesktop/src/plugins/scriptRunner.ts

@ -46,7 +46,7 @@ class ScriptRunnerClient extends ElectronBasePluginClient {
async execute(content: string, dir: string): Promise<void> { async execute(content: string, dir: string): Promise<void> {
this.call('terminal' as any, 'log', this.workingDir) this.call('terminal' as any, 'log', this.workingDir)
const child = utilityProcess.fork(path.join(__dirname,'/../tools/yarn/bin/', 'yarn.js'), [`--cwd=${this.workingDir}`, 'add', 'web3'], { const child = utilityProcess.fork(path.join(__dirname,'/../tools/yarn/bin/', 'yarn.js'), [`--cwd=${this.workingDir}`, 'add', 'ethers'], {
stdio: 'pipe', stdio: 'pipe',
}) })
child && child.stdout && child.stdout.on('data', (data) => { child && child.stdout && child.stdout.on('data', (data) => {

Loading…
Cancel
Save