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('');
}
core.info(taskDefCloudFormation);
const mappedSecrets = new Array();
mappedSecrets.push(...secrets);
mappedSecrets.map((x) => {
const mappedSecrets = secrets.map((x) => {
return { ParameterKey: x.ParameterKey, ParameterValue: x.ParameterValue };
});
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);
const mappedSecrets = new Array();
mappedSecrets.push(...secrets);
mappedSecrets.map((x) => {
const mappedSecrets = secrets.map((x) => {
return { ParameterKey: x.ParameterKey, ParameterValue: x.ParameterValue };
});
await CF.createStack({