From de5f1f33a5ecb58e14e3d7d9fe7da94da299636c Mon Sep 17 00:00:00 2001 From: yann300 Date: Mon, 1 Oct 2018 12:08:04 +0200 Subject: [PATCH] test tab: check path & provider value --- src/app/tabs/test-tab.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/tabs/test-tab.js b/src/app/tabs/test-tab.js index d94e469209..737ef6ef34 100644 --- a/src/app/tabs/test-tab.js +++ b/src/app/tabs/test-tab.js @@ -83,7 +83,9 @@ module.exports = class TestTab { function getTests (self, cb) { var path = self._deps.fileManager.currentPath() + if (!path) return cb(null, []) var provider = self._deps.fileManager.fileProviderOf(path) + if (!provider) return cb(null, []) var tests = [] self._deps.fileManager.filesFromPath(path, (error, files) => { if (error) return cb(error)