ignore paths by regexgit add .

This commit is contained in:
fyears
2024-01-04 00:26:02 +08:00
parent 9e4d3826fd
commit 6a651b844f
5 changed files with 67 additions and 9 deletions
+4 -1
View File
@@ -85,7 +85,7 @@ const DEFAULT_SETTINGS: RemotelySavePluginSettings = {
lang: "auto",
logToDB: false,
skipSizeLargerThan: -1,
ignorePaths: [".obsidian/workspace.json", ".obsidian/workspace-mobile.json", ".obsidian/community-plugins.json"],
ignorePaths: [],
};
interface OAuth2Info {
@@ -795,6 +795,9 @@ export default class RemotelySavePlugin extends Plugin {
if (this.settings.s3.forcePathStyle === undefined) {
this.settings.s3.forcePathStyle = false;
}
if (this.settings.ignorePaths === undefined) {
this.settings.ignorePaths = [];
}
}
async checkIfPresetRulesFollowed() {