Adding branch reader and tests
parent
4e93a74861
commit
d0ae159ab0
|
|
@ -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 '';
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -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 '';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue