Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Commit

Permalink
Join invalid chars with space instead of comma
Browse files Browse the repository at this point in the history
  • Loading branch information
kananb committed Sep 7, 2023
1 parent e2a003b commit 827d887
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ApiService/ApiService/onefuzzlib/notifications/Ado.cs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ private static OneFuzzResultVoid ValidatePathNaming(string path, string? pathTyp
erroneous = pathParts.FirstOrDefault(part => invalidChars.Any(part.Contains));
if (erroneous != null) {
return OneFuzzResultVoid.Error(ErrorCode.ADO_VALIDATION_INVALID_PATH, new string[] {
$"{pathType} Path \"{path}\" is invalid. \"{erroneous}\" contains an invalid character ({string.Join(", ", invalidChars)}).",
$"{pathType} Path \"{path}\" is invalid. \"{erroneous}\" contains an invalid character ({string.Join(" ", invalidChars)}).",
"Make sure that the path is separated by backslashes (\\) and not forward slashes (/).",
});
}
Expand Down

0 comments on commit 827d887

Please sign in to comment.