Skip to content

Commit 14f36b2

Browse files
committed
fix(sync): Only list current dir from remote when syncing.
1 parent d8a371c commit 14f36b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ export default class InvioPlugin extends Plugin {
227227
() => self.saveSettings()
228228
);
229229
// const Prefix = 'op-remote-source-raw/';
230-
const remoteRsp = await client.listFromRemote(RemoteSrcPrefix);
230+
const remoteRsp = await client.listFromRemote(RemoteSrcPrefix + this.settings.localWatchDir);
231231
log.info('remote: ', remoteRsp);
232232
const remoteContents = remoteRsp.Contents.filter(item => item.key !== RemoteSrcPrefix);
233233

0 commit comments

Comments
 (0)