fix (share): js was throwing because of an uncomplete initialisation

This commit is contained in:
Mickael KERJEAN
2018-11-26 18:42:39 +11:00
parent bef1716a18
commit c71214455a

View File

@ -445,6 +445,7 @@ class FileSystem{
};
}
let file = {
path: dirname(path),
name: basename(path),
type: /\/$/.test(path) ? 'directory' : 'file'
};