Skip to content

Commit

Permalink
fix: count starts with 0
Browse files Browse the repository at this point in the history
  • Loading branch information
stravo1 committed Mar 4, 2024
1 parent 392ed31 commit 05e6de4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ export default class driveSyncPlugin extends Plugin {
);
var filesList = this.app.vault.getFiles();
let noOfFiles = filesList.length;
let count = 1;
let count = 0;
for (const file of filesList) {
const buffer: any = await this.app.vault.readBinary(file);
await uploadFile(
Expand Down

0 comments on commit 05e6de4

Please sign in to comment.