Skip to content

Commit

Permalink
bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ftasbasi committed Jan 21, 2024
1 parent 00af9ab commit 3115f71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ try {

function replaceTemplateVariables(data, context) {
for (const [key, value] of Object.entries(context)) {
const regex = new RegExp(`ENV_${key}`, 'g');
const regex = new RegExp(`ENV_${key}`, '');

// Normalize newline characters to '\n' and preserve the '|' YAML syntax
const normalizedValue = value.replace(/\r\n/g, '\n');
Expand Down

0 comments on commit 3115f71

Please sign in to comment.