Closed tterrag1098 closed 9 years ago
I figured you wanted it that way :P
If I'm not mistaken, Paths.get("")
should always return a dir, as it returns the directory where the file was run. I could be wrong, though...
99% of the time, yeah. But I do remember it crashing for some reason while developing the old way. This new way should be 100% safe. On Mar 28, 2015 4:58 PM, "Parker Young" notifications@github.com wrote:
I figured you wanted it that way :P
If I'm not mistaken, Paths.get("") should always return a dir, as it returns the directory where the file was run. I could be wrong, though...
— Reply to this email directly or view it on GitHub https://github.com/Parker8283/BON2/pull/12#issuecomment-87301751.
Eh, alrighty then.
I made a small derp when I initially made this feature. This new way should always get the current dir, or if that's not possible it will search upwards until it finds a directory.