We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bff387a commit d6ba94aCopy full SHA for d6ba94a
src/backends/test-repo/implementation.js
@@ -34,7 +34,7 @@ const getCursor = (collection, extension, entries, index) => {
34
};
35
36
const getFolderEntries = (folder, extension) => {
37
- return Object.keys(window.repoFiles[folder])
+ return Object.keys(window.repoFiles[folder] || {})
38
.filter(path => path.endsWith(`.${ extension }`))
39
.map(path => ({
40
file: { path: `${ folder }/${ path }` },
0 commit comments