You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fantomas --config fantomas-config.json foo.fs throws the error:
Couldn't process one or more Fantomas configuration files, falling back to the default configuration
System.ArgumentException: Path cannot be the empty string or all whitespace. (Parameter 'path')
at System.IO.Directory.GetParent(String path)
at Fantomas.ConfigFile.findConfigurationFiles(String fileOrFolder) in /home/runner/work/fantomas/fantomas/src/Fantomas/ConfigFile.fs:line 29
at Fantomas.CodeFormatterImpl.readConfiguration(String fileOrFolder) in /home/runner/work/fantomas/fantomas/src/Fantomas/CodeFormatterImpl.fs:line 678
Expected results: should act like if config file path supplied was ./fantomas-config.json, i.e. the ./ should be by default if not prepended.
The text was updated successfully, but these errors were encountered:
nojaf
added a commit
to nojaf/fantomas
that referenced
this issue
May 15, 2020
fantomas --config fantomas-config.json foo.fs
throws the error:Expected results: should act like if config file path supplied was
./fantomas-config.json
, i.e. the./
should be by default if not prepended.The text was updated successfully, but these errors were encountered: