diff --git a/src/utils/create-archive.ts b/src/utils/create-archive.ts index 4f6ae378..01564f9e 100644 --- a/src/utils/create-archive.ts +++ b/src/utils/create-archive.ts @@ -31,6 +31,7 @@ export function createArchive({ directory, zipFileName, fileGlob = '.', quiet }: // TODO: test on windows execSync(`Compress-Archive -Path '${directory}\\*' -DestinationPath '${zipFilePath}' -CompressionLevel Optimal`, { stdio: 'inherit', + shell: 'powershell.exe', }); } else { execSync(`zip -ryq9 '${zipFilePath}' ${fileGlob}`, {