mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Handle known enumerable types better
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using SabreTools.Help;
|
||||
using SabreTools.IO;
|
||||
|
||||
@@ -43,7 +42,7 @@ namespace RombaSharp.Features
|
||||
logger.Error("This feature is not yet implemented: merge");
|
||||
|
||||
// Verify that the inputs are valid directories
|
||||
var dirs = PathTool.GetDirectoriesOnly(Inputs).Select(p => p.CurrentPath);
|
||||
var dirs = PathTool.GetDirectoriesOnly(Inputs).ConvertAll(p => p.CurrentPath);
|
||||
Inputs.Clear();
|
||||
Inputs.AddRange(dirs);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user