Leprechaun
Leprechaun copied to clipboard
Configuration not found on Mac OSX
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!"
Hi @mjarosch,
Two questions:
- Does it work if you prefix it with
.\
? Meaning. \Leprechaun.config
? - Does it work if you put the full path to the config file?
Thanks, Ben
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!"
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.