goaws icon indicating copy to clipboard operation
goaws copied to clipboard

Default configuration can never load following documentatation

Open qhenkart opened this issue 4 years ago • 1 comments

Currently, following the documentation, the default configuration will never load and will never cast an error when it fails.

Additionally when loading a custom configuration file, an error is never fired if there is an error in loading due to an invalid or incorrect path

this PR adds an error when the provided configuration file does not load, it also fixes the broken path that causes the default file to never load. It is only a partial fix because if someone moves the compiled binary outside of the root path, the default file will no longer be found (but at least it returns an error)

I also fixed linting errors

qhenkart avatar Aug 30 '20 11:08 qhenkart

Seems like the pr-tests failed can you check and fix please?

p4tin avatar Aug 30 '20 11:08 p4tin

I just merged another PR to handle this issue and fixed up the release process to do the same thing. All versions should pull the default properly now I think.

Let me know if you have any trouble with versions v0.4.0 or greater. Closing this as a dupe.

dhumphreys01 avatar Mar 04 '23 15:03 dhumphreys01