Skip to content

Commit

Permalink
DXCDT-689: rename variable to be more descriptive
Browse files Browse the repository at this point in the history
  • Loading branch information
kushalshit27 committed Aug 13, 2024
1 parent 4d91b7b commit bfd9bf7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/context/yaml/handlers/branding.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ async function parse(context: YAMLContext): Promise<ParsedBranding> {

const parsedTemplates: BrandingTemplate[] = templates.map(
(templateDefinition: BrandingTemplate): BrandingTemplate => {
const normalizedPathSplit = nomalizedYAMLPath(templateDefinition.body);
const markupFile = path.join(context.basePath, ...normalizedPathSplit);
const normalizedPathArray = nomalizedYAMLPath(templateDefinition.body);
const markupFile = path.join(context.basePath, ...normalizedPathArray);
return {
template: templateDefinition.template,
body: loadFileAndReplaceKeywords(markupFile, {
Expand Down

0 comments on commit bfd9bf7

Please sign in to comment.