From d75c7a9f9e57c5af535c03680065f9044af457d7 Mon Sep 17 00:00:00 2001 From: filip mertens Date: Wed, 13 Dec 2023 08:04:04 +0100 Subject: [PATCH] rm utility --- apps/remixdesktop/src/plugins/utility.ts | 20 ------------------- .../workspace/src/lib/actions/events.ts | 2 -- 2 files changed, 22 deletions(-) delete mode 100644 apps/remixdesktop/src/plugins/utility.ts diff --git a/apps/remixdesktop/src/plugins/utility.ts b/apps/remixdesktop/src/plugins/utility.ts deleted file mode 100644 index 95281fffd3..0000000000 --- a/apps/remixdesktop/src/plugins/utility.ts +++ /dev/null @@ -1,20 +0,0 @@ -console.log('Starting utilities') -process.parentPort.postMessage('start utilities') -import { spawn } from 'node:child_process'; -const ls = spawn('ls', ['-la']) -ls.stdout.on('data', (data) => { - console.log(`stdout: ${data}`); - process.parentPort.postMessage(data.toString()) -}); - -process.parentPort.postMessage(JSON.stringify(process.env)) - -const ls2 = spawn('yarn', ['-v']) -ls2.stdout.on('data', (data) => { - console.log(`stdout: ${data}`); - process.parentPort.postMessage(data.toString()) -}); -ls.stderr.on('data', (data) => { - console.error(`stderr: ${data}`); - process.parentPort.postMessage(data.toString()) -}) \ No newline at end of file diff --git a/libs/remix-ui/workspace/src/lib/actions/events.ts b/libs/remix-ui/workspace/src/lib/actions/events.ts index 2fe46360d8..aff7e06765 100644 --- a/libs/remix-ui/workspace/src/lib/actions/events.ts +++ b/libs/remix-ui/workspace/src/lib/actions/events.ts @@ -195,8 +195,6 @@ const folderAdded = async (folderPath: string) => { const path = extractParentFromKey(folderPath) || ROOT_PATH if (isElectron()) { const isExpanded = await plugin.call('filePanel', 'isExpanded', path) - - console.log('folderAdded', folderPath, path, isExpanded) if (!isExpanded) return }