install with --env=false (#487)

Prevents any local env being added
This commit is contained in:
Max Howell 2023-04-21 10:24:49 -04:00 committed by GitHub
parent f2477b5a40
commit f3559d0ef7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,7 +15,7 @@ export async function installPackage(full_name: string) {
if (!teaVersion) throw new Error("no tea");
log.info(`installing package ${full_name}`);
await asyncExec(`cd ${destinationDirectory} && ./tea -S +${full_name} true`);
await asyncExec(`cd ${destinationDirectory} && ./tea --env=false --sync +${full_name} true`);
}
export async function openTerminal(cmd: string) {