Manager: Change exclude path logic to /.gitignore*/ style

This commit is contained in:
Riyyi
2022-03-06 14:48:38 +01:00
parent e00ff4ba6a
commit 7f1558bc64
3 changed files with 121 additions and 17 deletions
+2 -2
View File
@@ -213,8 +213,8 @@ TEST_CASE(PushDotfilesWithExcludePath)
Config::the().setExcludePaths({
{ "__test-file-1", "file" },
{ "__subdir", "directory" },
{ ".test", "endsWith" },
{ "__subdir/", "directory" },
{ "*.test", "endsWith" },
});
Dotfile::the().push(fileNames);
Config::the().setExcludePaths({});