diff --git a/share/functions/fish_npm_helper.fish b/share/functions/fish_npm_helper.fish index 3ba7872b9..810154c01 100644 --- a/share/functions/fish_npm_helper.fish +++ b/share/functions/fish_npm_helper.fish @@ -38,7 +38,7 @@ function __yarn_filtered_list_packages end function __yarn_find_package_json - set parents (__fish_parent_directories (pwd)) + set parents (__fish_parent_directories (pwd -P)) for p in $parents if test -f "$p/package.json"