Skip to content

Commit

Permalink
fix: admin/fs: drives were displayed as files instead of folders
Browse files Browse the repository at this point in the history
  • Loading branch information
rejetto committed Feb 10, 2022
1 parent 23aca12 commit 4cfd71d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api.vfs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ const apis: ApiHandlers = {
if (!path && isWindows()) {
try {
for (const n of await getDrives())
yield { add: { n } }
yield { add: { n, k: 'd' } }
}
catch(error) {
console.debug(error)
Expand Down

0 comments on commit 4cfd71d

Please sign in to comment.