pho icon indicating copy to clipboard operation
pho copied to clipboard

fix: empty path error when resolving appsLink

Open Eggrror404 opened this issue 5 months ago • 2 comments

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 😅

Eggrror404 avatar Sep 13 '24 18:09 Eggrror404