From edba0cbd6c302a75507f35504368ae1c810e2158 Mon Sep 17 00:00:00 2001 From: LongYinan Date: Sat, 16 Dec 2023 19:32:16 +0800 Subject: [PATCH] chore(cli): root directory access permissions (#1864) --- cli/src/api/load-wasi-template.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/src/api/load-wasi-template.ts b/cli/src/api/load-wasi-template.ts index ce7b2008..56e27386 100644 --- a/cli/src/api/load-wasi-template.ts +++ b/cli/src/api/load-wasi-template.ts @@ -18,7 +18,7 @@ const __wasi = new __nodeWASI({ version: 'preview1', env: process.env, preopens: { - '/': __dirname, + '/': '/' } })