| 186 | }, |
| 187 | }); |
| 188 | const run: GhRunner = args => new Promise(done => { |
| 189 | execFile(join(home, "bin/gh"), args, { cwd: workDir, env, timeout: 60_000 }, (error, stdout, stderr) => { |
| 190 | done({ code: error ? (typeof error.code === "number" ? error.code : null) : 0, stdout, stderr }); |
| 191 | }); |
| 192 | }); |
| 193 | checkInterrupted(); |
| 194 | const deleted = await runSubscriptionCommands(run, pr.html_url); |
| 195 | console.error(`smoke: created, viewed, listed, and deleted subscription ${deleted}`); |