sounder

Massimo Melina committed Jan 23, 2022 at 15:28 UTC d5f415d5f5251d1b4064eb6d626bc21f36452875
1 file changed +2 -1
src/vfs.ts
+2 -1
@@ -75,7 +75,8 @@ export class Vfs {
75 export const vfs = new Vfs()
76 subscribeConfig({ k: 'vfs' }, data => {
77 // we should validate content now
78 - recur(data)
78 + if (data)
79 + recur(data)
80 vfs.root = data
81
82 function recur(node:VfsNode) {