Skip to content

Commit

Permalink
Merge branch 'dev/0.10.0' of https://github.com/Arlodotexe/OwlCore.St…
Browse files Browse the repository at this point in the history
…orage into dev/0.10.0
  • Loading branch information
Arlodotexe committed Mar 18, 2024
2 parents 27ab5dd + 8b52efc commit 6998033
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/System/IO/SystemFile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public SystemFile(string path)
foreach (var c in global::System.IO.Path.GetInvalidPathChars())
{
if (path.Contains(c))
throw new FormatException($"Provided path contains invalid character: {c}");
throw new FormatException($"Provided path contains invalid character '{c}'.");
}

if (!File.Exists(path))
Expand Down

0 comments on commit 6998033

Please sign in to comment.