Kubernetes use env var based secrets

pull/310/head
Frostebite 2021-12-29 22:11:36 +00:00
parent 03cb26f073
commit 18828c059e
3 changed files with 1 additions and 5 deletions

2
dist/index.js vendored
View File

@ -3539,13 +3539,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.GithubCliReader = void 0;
const assert_1 = __importDefault(__webpack_require__(42357));
const system_1 = __importDefault(__webpack_require__(62177));
class GithubCliReader {
static GetGitHubAuthToken() {
return __awaiter(this, void 0, void 0, function* () {
try {
assert_1.default(yield system_1.default.run(`gh --help`, [], {}, false));
return yield system_1.default.run(`gh auth status -t`, [], {}, false);
}
catch (_a) {

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -1,10 +1,8 @@
import assert from 'assert';
import System from '../system';
export class GithubCliReader {
static async GetGitHubAuthToken() {
try {
assert(await System.run(`gh --help`, [], {}, false));
return await System.run(`gh auth status -t`, [], {}, false);
} catch {
return '';