Skip to content

Commit d0d21fc

Browse files
committed
Fix prettier
1 parent 322e1a9 commit d0d21fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pages/play/ts.worker.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export class CustomTypeScriptWorker extends TypeScriptWorker {
6767
program,
6868
sourceFiles: [sourceFile],
6969
writeFile(fileName, data, _writeBOM, _onError, sourceFiles = []) {
70-
if (!sourceFiles.some(f => f.fileName === sourceFile.fileName)) return;
70+
if (!sourceFiles.some((f) => f.fileName === sourceFile.fileName)) return;
7171
if (fileName.endsWith(".lua")) lua = data;
7272
if (fileName.endsWith(".lua.map")) sourceMap = data;
7373
},
@@ -90,7 +90,7 @@ export class CustomTypeScriptWorker extends TypeScriptWorker {
9090

9191
if (!ast) throw "Could not get transpiled Lua AST";
9292
if (!lua) throw "Could not get transpiled Lua";
93-
if (!sourceMap) throw "Could not get tstl source map"
93+
if (!sourceMap) throw "Could not get tstl source map";
9494

9595
this.lastResult = { diagnostics, ast, lua, sourceMap };
9696
return this.lastResult;

0 commit comments

Comments
 (0)