refactoring remote builder

pull/263/head
Frostebite 2021-05-02 04:47:33 +01:00
parent 887594df73
commit e3fb2e55b2
3 changed files with 3 additions and 7 deletions

4
dist/index.js vendored
View File

@ -1296,9 +1296,7 @@ class AWS {
].join(''); ].join('');
} }
core.info(taskDefCloudFormation); core.info(taskDefCloudFormation);
const mappedSecrets = new Array(); const mappedSecrets = secrets.map((x) => {
mappedSecrets.push(...secrets);
mappedSecrets.map((x) => {
return { ParameterKey: x.ParameterKey, ParameterValue: x.ParameterValue }; return { ParameterKey: x.ParameterKey, ParameterValue: x.ParameterValue };
}); });
yield CF.createStack({ yield CF.createStack({

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -133,9 +133,7 @@ class AWS {
} }
core.info(taskDefCloudFormation); core.info(taskDefCloudFormation);
const mappedSecrets = new Array(); const mappedSecrets = secrets.map((x) => {
mappedSecrets.push(...secrets);
mappedSecrets.map((x) => {
return { ParameterKey: x.ParameterKey, ParameterValue: x.ParameterValue }; return { ParameterKey: x.ParameterKey, ParameterValue: x.ParameterValue };
}); });
await CF.createStack({ await CF.createStack({