Adding branch reader and tests

pull/310/head
Frostebite 2021-12-29 18:33:06 +00:00
parent 4e93a74861
commit d0ae159ab0
3 changed files with 3 additions and 3 deletions

2
dist/index.js vendored
View File

@ -3532,7 +3532,7 @@ class GithubCliReader {
return yield system_1.default.run(`gh auth status -t`); return yield system_1.default.run(`gh auth status -t`);
} }
catch (_a) { catch (_a) {
return false; return '';
} }
}); });
} }

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -7,7 +7,7 @@ export class GithubCliReader {
assert(await System.run(`gh -v`)); assert(await System.run(`gh -v`));
return await System.run(`gh auth status -t`); return await System.run(`gh auth status -t`);
} catch { } catch {
return false; return '';
} }
} }
} }