Remove condition with sudo

This commit is contained in:
MaksimZhukov 2020-04-28 15:23:22 +03:00
parent 8b4ba3d70d
commit 63cdca158a
3 changed files with 3 additions and 8 deletions

View file

@ -42,10 +42,8 @@ async function installPython(workingDirectory: string) {
if (IS_WINDOWS) {
await exec.exec('powershell', ['./setup.ps1'], options);
} else if (IS_MACOS) {
await exec.exec('bash', ['./setup.sh'], options);
} else {
await exec.exec('sudo', ['-n', 'bash', './setup.sh'], options);
await exec.exec('bash', ['./setup.sh'], options);
}
}