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 3a512cb commit 33b2a98Copy full SHA for 33b2a98
packages/cubejs-schema-compiler/src/compiler/transpilers/transpiler_worker.ts
@@ -1,8 +1,6 @@
1
import workerpool from 'workerpool';
2
import { transformSync } from '@swc/core';
3
4
-import { ErrorReporter } from '../ErrorReporter';
5
-
6
type TransferContent = {
7
fileName: string;
8
content: string;
@@ -14,7 +12,6 @@ type TransferContent = {
14
12
15
13
type TranspilerPlugin = [string, Record<string, any>];
16
17
-const errorsReport = new ErrorReporter(null, []);
18
19
const transpilers = {
20
ValidationTranspiler:
@@ -58,8 +55,6 @@ const transpile = (data: TransferContent) => {
58
55
59
56
return {
60
57
content: result.code,
61
- errors: errorsReport.getErrors(),
62
- warnings: errorsReport.getWarnings()
63
};
64
65
0 commit comments