1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-30 10:36:35 +02:00

Should wait when copying file

This commit is contained in:
Laurent Cozic 2021-08-05 15:08:57 +01:00
parent 5b7a5de826
commit d7d05f85ff

View File

@ -154,7 +154,7 @@ function shimInit(sharp = null, keytar = null, React = null, appVersion = null)
}
if (!mustResize) {
shim.fsDriver().copy(filePath, targetPath);
await shim.fsDriver().copy(filePath, targetPath);
return true;
}