Skip to content

Commit

Permalink
feat: fix the build error
Browse files Browse the repository at this point in the history
  • Loading branch information
shailesh-sf committed Aug 28, 2024
1 parent bf6ddbf commit 5bb6f48
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/utils/lwcparser/htmlParser/HTMLParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ class HTMLParser {
}

// Method to replace custom tags
// eslint-disable-next-line @typescript-eslint/member-ordering
public replaceCustomTag(oldTag: string, newTag: string): void {
this.parser(oldTag).each((_, element) => {
const newElement = this.parser(`<${newTag}></${newTag}>`).html(this.parser(element).html());
Expand All @@ -35,7 +34,6 @@ class HTMLParser {
}

// Method to save modified HTML back to a file
// eslint-disable-next-line @typescript-eslint/member-ordering
public saveToFile(outputFilePath: string): void {
try {
const modifiedHtml = this.parser.html();
Expand Down

0 comments on commit 5bb6f48

Please sign in to comment.