From 112b15b5918296f159af79e1f6db96beac7aa14d Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sat, 22 Sep 2018 14:43:16 +0200 Subject: fix runner --- app/relay/runner.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/relay/runner.js') diff --git a/app/relay/runner.js b/app/relay/runner.js index f1e3497..ab22a17 100644 --- a/app/relay/runner.js +++ b/app/relay/runner.js @@ -201,7 +201,7 @@ export function list_directory(opt, cb) { path: full_path, date: stat.ctime, size: stat.size, - dir: stat.isDirectory(), + dir: stat.isDirectory ? stat.isDirectory() : false, }) }) }) -- cgit v1.2.3-70-g09d2