Loading pkgs/by-name/nu/nuget-to-json/nuget-to-json.sh +2 −1 Original line number Diff line number Diff line Loading @@ -62,7 +62,8 @@ done fi # packages in the nix store should have an empty metadata file used_source="$(jq -r 'if has("source") then .source else "" end' "$version"/.nupkg.metadata)" # packages installed with 'dotnet tool' may be missing 'source' used_source="$(jq -r 'if has("source") then .source elif has("contentHash") then "__unknown" else "" end' "$version"/.nupkg.metadata)" found=false if [[ -z "$used_source" || -d "$used_source" ]]; then Loading Loading
pkgs/by-name/nu/nuget-to-json/nuget-to-json.sh +2 −1 Original line number Diff line number Diff line Loading @@ -62,7 +62,8 @@ done fi # packages in the nix store should have an empty metadata file used_source="$(jq -r 'if has("source") then .source else "" end' "$version"/.nupkg.metadata)" # packages installed with 'dotnet tool' may be missing 'source' used_source="$(jq -r 'if has("source") then .source elif has("contentHash") then "__unknown" else "" end' "$version"/.nupkg.metadata)" found=false if [[ -z "$used_source" || -d "$used_source" ]]; then Loading