From e7c47cdf9cd445d75ee63b37f4df809765a6297c Mon Sep 17 00:00:00 2001 From: Benjamin Pasero Date: Sun, 14 Oct 2018 10:44:59 +0200 Subject: [PATCH] sqlite - fix compile --- build/lib/compilation.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/lib/compilation.ts b/build/lib/compilation.ts index d32eff0aa4a..ad4c6b420b7 100644 --- a/build/lib/compilation.ts +++ b/build/lib/compilation.ts @@ -47,7 +47,7 @@ function createCompile(src: string, build: boolean, emitError?: boolean): (token opts.inlineSources = !!build; opts.noFilesystemLookup = true; - const ts = tsb.create(opts, true, undefined, err => new reporter(err.toString())); + const ts = tsb.create(opts, true, undefined, err => new (reporter)(err.toString())); return function (token?: util.ICancellationToken) {