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:
parent
5b7a5de826
commit
d7d05f85ff
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user