Skip to content

Commit

Permalink
chore:remove whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
YannickVR committed Oct 1, 2024
1 parent 86f1b1f commit 17d7dd4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plugin/impl/tf-apply-task-plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,15 +182,15 @@ export class TfBuildTaskPlugin implements IBuildTaskPlugin<ITfBuildTaskConfig, I
static GetParametersAsArgument(parameters: Record<string, any>): string {
if (!parameters) { return ''; }
const entries = Object.entries(parameters);

return entries.reduce((prev, [key, value]) => {
if (Array.isArray(value)) {
value = JSON.stringify(value);
}
return prev + ` -var '${key}=${value}'`;
}, '');
}

static GetBackendConfigAsArgument(backendConfig: Record<string, any>): string {
if (!backendConfig) { return ''; }
const entries = Object.entries(backendConfig);
Expand Down

0 comments on commit 17d7dd4

Please sign in to comment.