diff --git a/index.js b/index.js index 219b6c5..9f780d2 100644 --- a/index.js +++ b/index.js @@ -84,9 +84,9 @@ async function main() { await fs.unlink(helper) } - for (string of environment) { + for (let string of environment) { const [name, value] = string.split('=') - for (pattern of InterestingVariables) { + for (let pattern of InterestingVariables) { if (name.match(pattern)) { core.exportVariable(name, value) break