fix: app data check error in write

This commit is contained in:
KernelDeimos
2025-01-13 14:11:26 -05:00
parent 9215937064
commit 5ef75e5df3
@@ -302,7 +302,7 @@ class HLWrite extends HLFilesystemOperation {
this.checkpoint('before thumbnail');
let thumbnail_promise = new TeePromise();
if ( await destination.isAppDataDirectory() || values.no_thumbnail ) {
if ( await parent.isAppDataDirectory() || values.no_thumbnail ) {
thumbnail_promise.resolve(undefined);
} else (async () => {
const reason = await (async () => {