Kubernetes use env var based secrets
parent
d276837797
commit
f66ee80519
|
|
@ -3542,7 +3542,7 @@ class GithubCliReader {
|
|||
static GetGitHubAuthToken() {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
try {
|
||||
assert_1.default(yield system_1.default.run(`gh -v`));
|
||||
assert_1.default(yield system_1.default.run(`gh --help`));
|
||||
return yield system_1.default.run(`gh auth status -t`);
|
||||
}
|
||||
catch (_a) {
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -4,7 +4,7 @@ import System from '../system';
|
|||
export class GithubCliReader {
|
||||
static async GetGitHubAuthToken() {
|
||||
try {
|
||||
assert(await System.run(`gh -v`));
|
||||
assert(await System.run(`gh --help`));
|
||||
return await System.run(`gh auth status -t`);
|
||||
} catch {
|
||||
return '';
|
||||
|
|
|
|||
Loading…
Reference in New Issue