std.Build.Cache.Path: fix the format method

This function previously wrote a trailing directory separator, but
that's not correct if the path refers to a file.
fd4d366009Andrew Kelley committed on 7/12/2024, 7:14:08 AMparent818f9cb
1 file changedLine totals unavailable