Improve diff
This commit is contained in:
parent
792f57dc7e
commit
e5373ab2bb
23 changed files with 312 additions and 220 deletions
|
|
@ -1103,7 +1103,7 @@ export class Syncer {
|
|||
remoteHash,
|
||||
localPath: target
|
||||
});
|
||||
const result = await this.operations.create(
|
||||
const createdPath = await this.operations.create(
|
||||
target,
|
||||
remoteContent
|
||||
);
|
||||
|
|
@ -1112,7 +1112,7 @@ export class Syncer {
|
|||
);
|
||||
localPath =
|
||||
liveRecord === undefined
|
||||
? result.actualPath
|
||||
? createdPath
|
||||
: liveRecord.localPath;
|
||||
await this.updateCache(
|
||||
remoteVersion.vaultUpdateId,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue