Skip to content

Commit 1ac719e

Browse files
committed
fix security issue
1 parent a5f2e85 commit 1ac719e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/create-llama/index.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -303,8 +303,9 @@ async function run(): Promise<void> {
303303
if (program.postInstallAction === "VSCode") {
304304
console.log(`Starting VSCode in ${root}...`);
305305
try {
306-
execSync(`code ${root} --new-window --goto README.md`, {
306+
execSync(`code . --new-window --goto README.md`, {
307307
stdio: "inherit",
308+
cwd: root,
308309
});
309310
} catch (error) {
310311
console.log(

0 commit comments

Comments
 (0)