Skip to content

Commit d19c96b

Browse files
authored
Merge pull request #2176 from HowToMeetLadies/fix-typo-updatedHierarchy
fix: correct typo by replacing updatedHierarchy with pagesHierarchy
2 parents 75626e6 + b51b9fb commit d19c96b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/back-end/events/page.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ class PageEvents {
115115

116116
pagesHierarchy = this.removeNullDataFromHierarchy(pagesHierarchy);
117117
pagesHierarchy = this.removeDuplicatedDataFromHierarchy(pagesHierarchy);
118-
fs.writeFileSync(pagesFile, JSON.stringify(updatedHierarchy, null, 4), { encoding: 'utf8' });
118+
fs.writeFileSync(pagesFile, JSON.stringify(pagesHierarchy, null, 4), { encoding: 'utf8' });
119119
});
120120
}
121121

0 commit comments

Comments
 (0)