remove --no-prompt flag, fail on missing permissions (#3183)

This commit is contained in:
Yoshiya Hinosawa 2019-10-23 08:35:43 +09:00 committed by Ry Dahl
parent edd6a90da8
commit 2804ba8674
9 changed files with 68 additions and 199 deletions

View file

@ -52,13 +52,7 @@ async function main(): Promise<void> {
console.log(`Running tests for: ${permsFmt}`);
const cliPerms = permsToCliFlags(perms);
// run subsequent tests using same deno executable
const args = [
Deno.execPath(),
"run",
"--no-prompt",
...cliPerms,
"cli/js/unit_tests.ts"
];
const args = [Deno.execPath(), "run", ...cliPerms, "cli/js/unit_tests.ts"];
const p = Deno.run({
args,