From e432207baf8718eae989446cfbb1987af84a20e9 Mon Sep 17 00:00:00 2001 From: Enix Date: Wed, 6 Nov 2019 11:13:01 +0800 Subject: [PATCH] refactor: stop reporting submodule-not-found error --- src/driver/core/FileExplorer.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/driver/core/FileExplorer.ts b/src/driver/core/FileExplorer.ts index 1b37705..ba075c5 100644 --- a/src/driver/core/FileExplorer.ts +++ b/src/driver/core/FileExplorer.ts @@ -1,4 +1,3 @@ -import { raiseError } from 'analytics' import { Props } from 'components/FileExplorer' import { GetCreatedMethod, MethodCreator } from 'driver/connect' import * as ini from 'ini' @@ -118,7 +117,9 @@ function handleParsed(root: TreeNode, parsed: Parsed) { node.accessDenied = true } } else { - raiseError(new Error(`Sub-module node not found`), { path }) + // It turns out that we did not miss any submodule after a lot of tests. + // Turning this off. + // raiseError(new Error(`Submodule node not found`), { path }) } } else { handleParsed(root, value as Parsed)