Skip to content

Commit 29f109a

Browse files
authored
Merge pull request #1309 from pjkaufman/master
Add Missing PDF Test File and Fix Modified Date Not Getting Set on Manual Lint Right After File Content Change
2 parents 06fc2f3 + 626416e commit 29f109a

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/main.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -594,11 +594,10 @@ export default class LinterPlugin extends Plugin {
594594
if (!charsAdded && !charsRemoved) {
595595
void this.runCustomCommands(file);
596596
} else {
597+
this.updateFileDebouncerText(file, newText);
597598
this.editorLintFiles.push(file);
598599
}
599600

600-
this.updateFileDebouncerText(file, newText);
601-
602601
setCollectLogs(false);
603602
}
604603

@@ -1052,8 +1051,6 @@ export default class LinterPlugin extends Plugin {
10521051
await this.customCommandsCallback(file);
10531052
}
10541053
});
1055-
1056-
this.updateFileDebouncerText(file, stripCr(await this.app.vault.read(file)));
10571054
}
10581055

10591056
/**

test-vault/ignore/dummy.pdf

12.4 KB
Binary file not shown.

0 commit comments

Comments
 (0)