Address following rules

- @typescript-eslint/no-redundant-type-constituents
- @typescript-eslint/no-unnecessary-type-assertion
This commit is contained in:
vorotamoroz committed 2026-06-01 03:37:55 +01:00
1 parent b887269fc1
commit f710f03380
4 files changed
+6 -6

No files matched your search

@@ -1500,7 +1500,7 @@ Offline Changed files: ${files.length}`;
}
async storeInternalFileToDatabase(file: InternalFileInfo | UXFileInfo, forceWrite = false) {
const storeFilePath = stripAllPrefixes(file.path as FilePath);
const storeFilePath = stripAllPrefixes(file.path);
const storageFilePath = file.path;
if (await this.services.vault.isIgnoredByIgnoreFile(storageFilePath)) {
return undefined;