Leprechaun icon indicating copy to clipboard operation
Leprechaun copied to clipboard

Configuration not found on Mac OSX

Open mjarosch opened this issue 2 years ago • 3 comments

Running dotnet leprechaun /c Leprechaun.config in a directory with a config fails to find the config file. It displays, "The import path \Users\username\Developer\Project\src\ did not exist, and will be skipped!"

mjarosch avatar Dec 21 '22 02:12 mjarosch

Hi @mjarosch,

Two questions:

  1. Does it work if you prefix it with .\? Meaning . \Leprechaun.config?
  2. Does it work if you put the full path to the config file?

Thanks, Ben

blipson89 avatar Dec 21 '22 03:12 blipson89

With .\ I get "ERROR: Unable to find relative config file in the following paths: '/Users/username/.nuget/packages/leprechaun.cli/2.1.0/tools/netcoreapp3.1/any/.Leprechaun.config' or '/Users/username/Developer/project/src/.Leprechaun.config' (System.IO.FileNotFoundException)"

With ./ I get "The import path \Users\username\Developer\project\src.\ did not exist, and will be skipped!"

With the full path I get "The import path \Users\username\Developer\project\src\ did not exist, and will be skipped!"

mjarosch avatar Dec 21 '22 03:12 mjarosch

After some initial testing, it looks like the latest release has fixed this issue. Will let you know once we do a little more thorough testing.

mjarosch avatar Jan 06 '23 21:01 mjarosch