Kubernetes use env var based secrets

pull/310/head
Frostebite 2021-12-29 21:29:08 +00:00
parent d276837797
commit f66ee80519
3 changed files with 3 additions and 3 deletions

2
dist/index.js vendored
View File

@ -3542,7 +3542,7 @@ class GithubCliReader {
static GetGitHubAuthToken() { static GetGitHubAuthToken() {
return __awaiter(this, void 0, void 0, function* () { return __awaiter(this, void 0, void 0, function* () {
try { 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`); return yield system_1.default.run(`gh auth status -t`);
} }
catch (_a) { catch (_a) {

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@ import System from '../system';
export class GithubCliReader { export class GithubCliReader {
static async GetGitHubAuthToken() { static async GetGitHubAuthToken() {
try { try {
assert(await System.run(`gh -v`)); assert(await System.run(`gh --help`));
return await System.run(`gh auth status -t`); return await System.run(`gh auth status -t`);
} catch { } catch {
return ''; return '';