From 90d330cae06c25e68a24a74c413e93f38ffe582a Mon Sep 17 00:00:00 2001 From: filip mertens Date: Sun, 19 Nov 2023 17:14:24 +0100 Subject: [PATCH] yarn init --- apps/remixdesktop/src/plugins/scriptRunner.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/remixdesktop/src/plugins/scriptRunner.ts b/apps/remixdesktop/src/plugins/scriptRunner.ts index dd01496dfa..e53c485675 100644 --- a/apps/remixdesktop/src/plugins/scriptRunner.ts +++ b/apps/remixdesktop/src/plugins/scriptRunner.ts @@ -46,7 +46,7 @@ class ScriptRunnerClient extends ElectronBasePluginClient { async execute(content: string, dir: string): Promise { this.call('terminal' as any, 'log', this.workingDir) - const child = utilityProcess.fork(path.join(__dirname,'/../tools/yarn/bin/', 'yarn.js'), [`--cwd=${this.workingDir}`, 'add', 'ethers'], { + const child = utilityProcess.fork(path.join(__dirname,'/../tools/yarn/bin/', 'yarn.js'), [`--cwd=${this.workingDir}`, 'init -y'], { stdio: 'pipe', }) child && child.stdout && child.stdout.on('data', (data) => {