From 12941a7760a2114c51b1b5fa955e80ebee6440ac Mon Sep 17 00:00:00 2001 From: Paul van Brenk Date: Mon, 20 Mar 2017 16:39:40 -0700 Subject: [PATCH 1/2] Fix whitespace --- session-file-store/session-file-store-tests.ts | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/session-file-store/session-file-store-tests.ts b/session-file-store/session-file-store-tests.ts index b268aea8b0..7b0fb1f38e 100644 --- a/session-file-store/session-file-store-tests.ts +++ b/session-file-store/session-file-store-tests.ts @@ -1,14 +1,13 @@ import FileStore = require("session-file-store"); -const options:FileStore.Options = { +const options: FileStore.Options = { path: "./tmp/sessions/", - logFn:function(a:string) { - + logFn: function (a: string) { } }; const sessionStore = new FileStore(options); -sessionStore.list(function (err: any, file: Array) { +sessionStore.list((err: any, file: Array) => { -}); +}); \ No newline at end of file From f9bc04436ab2c9c558987a248691623c1a5532d2 Mon Sep 17 00:00:00 2001 From: Paul van Brenk Date: Mon, 20 Mar 2017 16:44:09 -0700 Subject: [PATCH 2/2] fix more linter errors --- session-file-store/session-file-store-tests.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/session-file-store/session-file-store-tests.ts b/session-file-store/session-file-store-tests.ts index 7b0fb1f38e..ffe3c79bee 100644 --- a/session-file-store/session-file-store-tests.ts +++ b/session-file-store/session-file-store-tests.ts @@ -2,7 +2,7 @@ import FileStore = require("session-file-store"); const options: FileStore.Options = { path: "./tmp/sessions/", - logFn: function (a: string) { + logFn: (a: string) => { } };