Skip to content

Commit 1429f22

Browse files
committed
fix(server-core): Fix getCompilersInstances to not return compiler promise
1 parent 4c0fef7 commit 1429f22

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

packages/cubejs-server-core/src/core/CompilerApi.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,6 @@ export class CompilerApi {
100100
* because it could fail and no compilers will be returned.
101101
*/
102102
getCompilersInstances() {
103-
if (this.compilers) {
104-
return this.compilers;
105-
}
106-
107103
return prepareCompiler(this.repository, {
108104
allowNodeRequire: this.allowNodeRequire,
109105
compileContext: this.compileContext,

0 commit comments

Comments
 (0)