Fix unit test failure

Signed-off-by: Trevor Nichols <trevor@nichols.id.au>
This commit is contained in:
Trevor Nichols committed 2020-09-02 19:03:56 +10:00
1 parent b1d15d44fe
commit 42f352b73a
1 file changed
+1 -1
+1 -1
View File
@@ -11,7 +11,7 @@ const fileOptions: winston.transports.FileTransportOptions = {
handleExceptions: false, handleExceptions: false,
level: isDebugging ? "debug" : "info", level: isDebugging ? "debug" : "info",
filename: "lens.log", filename: "lens.log",
dirname: (app || remote.app).getPath("logs"), dirname: (app ?? remote?.app)?.getPath("logs"),
maxsize: 16 * 1024, maxsize: 16 * 1024,
maxFiles: 16, maxFiles: 16,
tailable: true, tailable: true,