forked from fsprojects/fantomas
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix .fantomasignore support (fsprojects#1920)
* Fix .fantomasignore support - Don't call MAB.DotIgnore.IgnoreList.IsIgnored() with absolute paths - Remove path prefix (".\" or: "./") when calling MAB.DotIgnore.IgnoreList.IsIgnored() * add unit test 'ignore specific file in subfolder' - extend TestHelpers.TemporaryFileCodeSample to support multiple sub folders otherwise we would call --recurse in Path.GetTempPath(), which might contain unrelated .fs files - adjust other tests * Add back the original subFolder ctr parameter alongside the new subFolders parameter. - Internally use an array and let subfolders take precedence over subfolder * Remove now superfluous blank lines * Call Directory.Delete() with the topmost subfolder and recursive = true Co-authored-by: David Schaefer <david.schaefer@rhein-spree.com>
- Loading branch information
Showing
3 changed files
with
45 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters