dizzyd / mcdex

Minecraft Modpack Management
Apache License 2.0
75 stars 8 forks source link

Commands should treat . as `pwd` #38

Closed dizzyd closed 5 years ago

dizzyd commented 5 years ago

When running a command that requires a directory, "." should be treated as if the user passed the absolute directory name.

mgziminsky commented 5 years ago

Doesn't it already do this?

https://github.com/dizzyd/mcdex/blob/91d9ddfc06e1349624121a477dd8f189c42fc85a/modpack.go#L67-L70

dizzyd commented 5 years ago

No, there was a subtle bug which I tracked down this morning. It worked for some cases, but not others -- should be consistent now :)