Update dist/index.js
Signed-off-by: Mathieu Bergeron <mathieu.bergeron@nuecho.com>pull/201/head
parent
21692b9878
commit
8616d520af
|
@ -4248,9 +4248,9 @@ function getImageID() {
|
||||||
exports.getImageID = getImageID;
|
exports.getImageID = getImageID;
|
||||||
function getSecret(kvp) {
|
function getSecret(kvp) {
|
||||||
return __awaiter(this, void 0, void 0, function* () {
|
return __awaiter(this, void 0, void 0, function* () {
|
||||||
const sepIndex = kvp.indexOf('=');
|
const delimiterIndex = kvp.indexOf('=');
|
||||||
const key = kvp.substr(0, sepIndex);
|
const key = kvp.substring(0, delimiterIndex);
|
||||||
const value = kvp.substr(sepIndex + 1);
|
const value = kvp.substring(delimiterIndex + 1);
|
||||||
const secretFile = context.tmpNameSync({
|
const secretFile = context.tmpNameSync({
|
||||||
tmpdir: context.tmpDir()
|
tmpdir: context.tmpDir()
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue