mirror of
https://github.com/mickael-kerjean/filestash.git
synced 2025-11-02 20:23:32 +08:00
fix (share): js was throwing because of an uncomplete initialisation
This commit is contained in:
@ -445,6 +445,7 @@ class FileSystem{
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
let file = {
|
let file = {
|
||||||
|
path: dirname(path),
|
||||||
name: basename(path),
|
name: basename(path),
|
||||||
type: /\/$/.test(path) ? 'directory' : 'file'
|
type: /\/$/.test(path) ? 'directory' : 'file'
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user