(core) Fixes compilation issues from grist-core

Test Plan: SaaS CI

Reviewers: paulfitz

Reviewed By: paulfitz

Differential Revision: https://phab.getgrist.com/D4351
This commit is contained in:
Spoffy
2024-09-17 20:33:32 +01:00
parent 5b26c84f0d
commit 839bf63b9f
5 changed files with 6 additions and 5 deletions

View File

@@ -1295,6 +1295,7 @@ export class FlexServer implements GristServer {
}
public async addTestingHooks(workerServers?: FlexServer[]) {
this._check('testinghooks', 'comm');
if (process.env.GRIST_TESTING_SOCKET) {
await startTestingHooks(process.env.GRIST_TESTING_SOCKET, this.port, this._comm, this,
workerServers || []);

View File

@@ -245,4 +245,3 @@ const createDefaultHostedStorageManager: HostedDocStorageManagerCreator = async
const createDefaultLocalStorageManager: LocalDocStorageManagerCreator = async (
docsRoot, samplesRoot, comm, shell
) => new DocStorageManager(docsRoot, samplesRoot, comm, shell);