eiriktsarpalis / nosln

A dotnet cli tool for generating solution files
MIT License
34 stars 1 forks source link

the argument `-I` doesnt support path starting with `./` #4

Open enricosada opened 4 years ago

enricosada commented 4 years ago

if i use -I my/path/*.fsproj ` works.

using -I ./my/path/*.fsproj doesnt work, because generate an empty sln

How to repro

having a project src/common/Thor.Sif .Services.IndexInventory/Thor.Sif .Services.IndexInventory.fsproj

this works

dotnet nosln --flatten --quiet -o the.sln -I "src/common/Thor.Sif
.Services.IndexInventory/*.fsproj"

but this doesnt

dotnet nosln --flatten --quiet -o the.sln -I "./src/common/Thor.Sif
.Services.IndexInventory/*.fsproj"
enricosada commented 4 years ago

i'll send a PR