diff --git a/dist/index.js b/dist/index.js index 79a431d..06d16f9 100644 --- a/dist/index.js +++ b/dist/index.js @@ -4248,9 +4248,9 @@ function getImageID() { exports.getImageID = getImageID; function getSecret(kvp) { return __awaiter(this, void 0, void 0, function* () { - const sepIndex = kvp.indexOf('='); - const key = kvp.substr(0, sepIndex); - const value = kvp.substr(sepIndex + 1); + const delimiterIndex = kvp.indexOf('='); + const key = kvp.substring(0, delimiterIndex); + const value = kvp.substring(delimiterIndex + 1); const secretFile = context.tmpNameSync({ tmpdir: context.tmpDir() });