Skip to content

Commit

Permalink
fix: Rename html files to JSX
Browse files Browse the repository at this point in the history
  • Loading branch information
d3xter666 committed Apr 5, 2024
1 parent a61acc9 commit aa44a38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/detectors/typeChecker/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ export class TsFileDetector extends FileBasedDetector {
// if (!fileContent) {
// throw new Error(`Failed to read file ${filePath}`);
// }
internalfilePath = internalfilePath.replace(/\.html$/, ".js");
internalfilePath = internalfilePath.replace(/\.html$/, ".jsx");
transformationResult = await lintHtml(path.basename(filePath), fs.createReadStream(filePath));
// transformationResult.source = fileContent;
transformationResult.source = "";
Expand Down

0 comments on commit aa44a38

Please sign in to comment.