We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This change should - in theory - be a noop. But it fixes invalid matches in the following glob:
let dllsAndLibDirs (dllPattern:IGlobbingPattern) = let dlls = dllPattern |> Seq.distinctBy Path.GetFileName |> List.ofSeq let libDirs = dlls |> Seq.map Path.GetDirectoryName |> Seq.distinct |> List.ofSeq (dlls,libDirs) let fake5LegacyDlls, fake5LegacyLibDirs = !! "./build/**/Fake.*.dll" ++ "./build/FakeLib.dll" -- "./build/**/Fake.Experimental.dll" -- "./build/**/FSharp.Compiler.Service.dll" -- "./build/**/netcore/FAKE.FSharp.Compiler.Service.dll" -- "./build/**/FAKE.FSharp.Compiler.Service.dll" -- "./build/**/Fake.IIS.dll" -- "./build/**/Fake.Deploy.Lib.dll" |> dllsAndLibDirs
This is on circle-ci where the repository is checked out at /build so there might be a conflict on /build/build here
/build
/build/build
Works, ie the glob should not match files in /build/test/
/build/test/
Glob matches files it shouldn't match
See the change
I tried to follow the code and reproduce it in fsi (mono), however I failed. It might be some specific .net core behavior on unix.
The text was updated successfully, but these errors were encountered:
Fixes #1925
7c7ea73
With the recent globbing fixes I found this as well and it should be fixed with RC014
Sorry, something went wrong.
No branches or pull requests
Description
This change should - in theory - be a noop. But it fixes invalid matches in the following glob:
This is on circle-ci where the repository is checked out at
/build
so there might be a conflict on/build/build
hereRepro steps
Expected behavior
Works, ie the glob should not match files in
/build/test/
Actual behavior
Glob matches files it shouldn't match
Known workarounds
See the change
Related information
I tried to follow the code and reproduce it in fsi (mono), however I failed. It might be some specific .net core behavior on unix.
The text was updated successfully, but these errors were encountered: