chore(cli): root directory access permissions (#1864)

This commit is contained in:
LongYinan 2023-12-16 19:32:16 +08:00 committed by GitHub
parent c3eeba1e34
commit edba0cbd6c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,7 +18,7 @@ const __wasi = new __nodeWASI({
version: 'preview1', version: 'preview1',
env: process.env, env: process.env,
preopens: { preopens: {
'/': __dirname, '/': '/'
} }
}) })