Skip to content

Commit

Permalink
bug: returning replaced vars in helper
Browse files Browse the repository at this point in the history
  • Loading branch information
Varun0157 committed Jun 8, 2024
1 parent 64a99bb commit 5fbe9aa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/variableParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,14 @@ function replaceEnvironmentVariables(vars: Variables): Variables {

const replacedVars: Variables = {};
for (const key in vars) replacedVars[key] = getVal(vars[key]);

return replacedVars;
}

export function loadVariables(
envName: string | undefined,
bundleContent: string | undefined,
varFileContents: string[],
varFileContents: string[]
): Variables {
if (!envName) return {};

Expand Down

0 comments on commit 5fbe9aa

Please sign in to comment.