From e084dfdc8da4cbf2ad7039111d9118a330259a33 Mon Sep 17 00:00:00 2001 From: bobzel Date: Fri, 31 Jul 2020 19:22:47 -0400 Subject: added debug flag to transpiler to catch hangs. fixed hang caused by imports being out of seqnce!? --- src/server/GarbageCollector.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/server/GarbageCollector.ts') diff --git a/src/server/GarbageCollector.ts b/src/server/GarbageCollector.ts index 24745cbb4..a9a3b0481 100644 --- a/src/server/GarbageCollector.ts +++ b/src/server/GarbageCollector.ts @@ -1,9 +1,9 @@ -import { Database } from './database'; - -import * as path from 'path'; import * as fs from 'fs'; +import * as path from 'path'; +import { Database } from './database'; import { Search } from './Search'; + function addDoc(doc: any, ids: string[], files: { [name: string]: string[] }) { for (const key in doc) { if (!doc.hasOwnProperty(key)) { -- cgit v1.2.3-70-g09d2