Skip to content

Commit 1e167c2

Browse files
authored
Update filebrowser.js
1 parent 95923eb commit 1e167c2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

filebrowser.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ async function renderSidebarHTML() {
193193
resp = await git.getItems(treeLoc);
194194

195195

196-
if (resp.message == 'Not Found') {
196+
if (resp.message && resp.message == 'Not Found') {
197197

198198
// if couldn't find repository, show not found screen
199199

@@ -338,6 +338,8 @@ async function renderSidebarHTML() {
338338
return;
339339

340340
}
341+
342+
if (resp.message) return;
341343

342344

343345
// render modified files

0 commit comments

Comments
 (0)