Hearthforge
Sign in
Register
pico-pixel-player
Code
Branches
Tags
Commits
Issues
Patches
Releases
Pipelines
← Back to log
@ 3cb758c
fix empty directory in offline mode
Author
Konata <konata@posteo.jp>
Date
2025-04-20 06:38:14 UTC
Commit
3cb758c58a772c2f6c75e4e001c420c1dfd57aa3
Parent
70809cc
1 file changed, 1 insertion(+)
▾
M
webclient/src/offline.ts
+1
@ 3cb758c
@ master
@@ -125,6 +125,7 @@ function deleteOfflinePath(path: string): void {
if
(
!
node
)
return
;
node
.
files
.
delete
(
fileName
);
if
(
node
.
files
.
size
===
0
)
deleteOfflinePath
(
basePath
);
}
export
const
clearDirectoryCache
=
(
path
:
string
)
=>
{