Skip to content

Commit

Permalink
Remove blank lines when reading input for TagUpdaterMultiple
Browse files Browse the repository at this point in the history
  • Loading branch information
codeconscious committed Oct 13, 2024
1 parent a232a37 commit f7a90fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AudioTagger.Console/Operations/TagUpdaterMultiple.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public void Start(IReadOnlyCollection<MediaFile> mediaFiles,
string[] inputLines;
try
{
inputLines = File.ReadAllLines(_inputFile);
inputLines = File.ReadAllLines(_inputFile).Where(l => l.HasText()).ToArray();
}
catch (FileNotFoundException)
{
Expand Down

0 comments on commit f7a90fd

Please sign in to comment.