mirror of
https://github.com/EnixCoda/Gitako.git
synced 2026-03-11 08:54:44 +00:00
refactor: stop reporting submodule-not-found error
This commit is contained in:
parent
033c97b648
commit
e432207baf
1 changed files with 3 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue