From 9e33d0a61661e5bf772b88eb95b551abe1ae5a4f Mon Sep 17 00:00:00 2001 From: XxAlex74xX <30472093+XxAlex74xX@users.noreply.github.com> Date: Wed, 8 Jan 2025 21:42:22 +0100 Subject: [PATCH] Update remixd.ts --- libs/remixd/src/bin/remixd.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/remixd/src/bin/remixd.ts b/libs/remixd/src/bin/remixd.ts index c6e9743734a..68bfdb2c0c8 100644 --- a/libs/remixd/src/bin/remixd.ts +++ b/libs/remixd/src/bin/remixd.ts @@ -95,7 +95,7 @@ function errorHandler (error: any, service: string) { console.log('\x1b[33m%s\x1b[0m', '[WARN] You may now only use IDE at ' + options.remixIde + ' to connect to that instance') } - if (!options.sharedFolder) options.sharedFolder = process.cwd() // if no specified, use the current folder + if (!options.sharedFolder) options.sharedFolder = process.cwd() // if not specified, use the current folder if (options.sharedFolder && existsSync(absolutePath('./', options.sharedFolder))) { console.log('\x1b[33m%s\x1b[0m', '[WARN] Any application that runs on your computer can potentially read from and write to all files in the directory.')