Skip to content

Commit

Permalink
Don't include folders for -n (non-recursive case)
Browse files Browse the repository at this point in the history
  • Loading branch information
KirillOsenkov committed Mar 24, 2017
1 parent db309a8 commit 7a2858d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ContentSync/Folders.cs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ public static void GetRelativePathsOfAllFiles(string rootFolder, string pattern,
{
files.Add(relativePath);
}
else
else if (recursive)
{
folders.Add(relativePath);
}
Expand Down

0 comments on commit 7a2858d

Please sign in to comment.