Skip to content

Commit

Permalink
Removed unnecessary typecast.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlemstra committed Sep 19, 2023
1 parent b34d8a4 commit ac930c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Magick.NET/MagickNET.cs
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ void IMagickNET.SetRandomSeed(int seed)

private static void CheckImageMagickFiles(string path)
{
foreach (var configurationFile in ((IConfigurationFiles)ConfigurationFiles.Default).All)
foreach (var configurationFile in ConfigurationFiles.Default.All)
{
var fileName = Path.Combine(path, configurationFile.FileName);
Throw.IfFalse(nameof(path), File.Exists(fileName), $"Unable to find file: {fileName}");
Expand Down

0 comments on commit ac930c7

Please sign in to comment.