Closed MangelMaxime closed 5 years ago
I can reproduce the problem but it goes away if you use ./src/{Project}
instead of src/{Project}
maybe we can detect it and add ./
in the beginning of the path?
I guess so or perhaps there is a normalize
path function in .Net available.
Yeah there is already one Path.normalizeFullPath
but we are using Path.GetFullPath
instead, see here
I didn't touch the helpers Path.normalizeFullPath
because it's used for cracking the project and I am not sure if they really wanted to treat them like a real relative path.
So instead, of changing the Path.normalizeFullPath
and co which seems to be specific to XML path handling, I used directly the IO.Patch
API which treats file path on the system correctly.
If you try running
femto
from the root of Fable.React repo it fails to analyze the project.If I move under
src
folder then it's working.Logs: