mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[Headerer] Update to use enumerate
This commit is contained in:
@@ -49,7 +49,7 @@ namespace SabreTools
|
|||||||
// If it's a directory, recursively check all
|
// If it's a directory, recursively check all
|
||||||
else if (Directory.Exists(_input))
|
else if (Directory.Exists(_input))
|
||||||
{
|
{
|
||||||
foreach (string sub in Directory.GetFiles(_input))
|
foreach (string sub in Directory.EnumerateFiles(_input, "*", SearchOption.AllDirectories))
|
||||||
{
|
{
|
||||||
if (sub != ".." && sub != ".")
|
if (sub != ".." && sub != ".")
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user