pho
pho copied to clipboard
fix: empty path error when resolving appsLink
Currently pho init
fails when symlinking is disabled,
because utils.ResolvePath
always gets called even when the appsLinkDir
string is empty.
This fixes it by moving the check into the if block, where appsLinkDir
would actually be set.
I also made another change but I'm not sure if the feature should be added. I'll send a separate PR later, it's pretty late at night for me 😅