We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02ee81b commit b9318f3Copy full SHA for b9318f3
packages/website/src/components/linter/createParser.ts
@@ -46,7 +46,7 @@ export function createParser(
46
// if text is empty use empty line to avoid error
47
const code = text || '\n';
48
49
- if (system.fileExists(filePath)) {
+ if (compilerHost.getSourceFile(filePath)) {
50
compilerHost.updateFile(filePath, code);
51
} else {
52
compilerHost.createFile(filePath, code);
0 commit comments