-
-
Notifications
You must be signed in to change notification settings - Fork 729
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
File type check on macosx (if file is "dylib") (#4206)
* added file type check on macosx (if file is "dylib" AKA has "dylib" extension) * Added unit test and fixes for empty path * refactored to test Path and suffix ("extension") GetExtension throws * inclusively covering all PE extensions (not excluding dylib only) * fixing tests accoring new logic (reverting to old) * style fixes * Update src/Cake.Core/IO/FileExtensions.cs Co-authored-by: Mattias Karlsson <[email protected]> * Add `.` to extensions Co-authored-by: Mattias Karlsson <[email protected]> --------- Co-authored-by: Mattias Karlsson <[email protected]>
- Loading branch information
Showing
2 changed files
with
37 additions
and
0 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