no-broken-symlinks: clean up error log output (#378079)

This commit is contained in:
Philip Taron
2025-01-31 21:57:56 -08:00
committed by GitHub
@@ -51,10 +51,10 @@ noBrokenSymlinks() {
fi
if [[ $path == "$symlinkTarget" ]]; then
nixErrorLog "the symlink $path is reflexive $symlinkTarget"
nixErrorLog "the symlink $path is reflexive"
numReflexiveSymlinks+=1
elif [[ ! -e $symlinkTarget ]]; then
nixErrorLog "the symlink $path points to a missing target $symlinkTarget"
nixErrorLog "the symlink $path points to a missing target: $symlinkTarget"
numDanglingSymlinks+=1
else
nixDebugLog "the symlink $path is irreflexive and points to a target which exists"