template fix

pull/263/head
Frostebite 2021-05-22 21:13:42 +01:00
parent a6d3837ba2
commit bb2e98a4a2
3 changed files with 2128 additions and 2126 deletions

3
dist/index.js vendored
View File

@ -1242,7 +1242,8 @@ class AWSBuildEnvironment {
static getSecretDefinitionTemplate(p1, p2) {
return `
- Name: '${p1}'
ValueFrom: !Ref ${p2}Secret`;
ValueFrom: !Ref ${p2}Secret
`;
}
static insertAtTemplate(template, insertionKey, insertion) {
const index = template.search(insertionKey) + insertionKey.length + '\n'.length;

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -62,7 +62,8 @@ class AWSBuildEnvironment {
static getSecretDefinitionTemplate(p1, p2) {
return `
- Name: '${p1}'
ValueFrom: !Ref ${p2}Secret`;
ValueFrom: !Ref ${p2}Secret
`;
}
static insertAtTemplate(template, insertionKey, insertion) {