Skip to content

Commit

Permalink
The Fix !
Browse files Browse the repository at this point in the history
  • Loading branch information
benaadams committed Jul 30, 2017
1 parent eefc1a0 commit 3f7163c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public virtual bool TryLookup(string name, PatternTable table, out object value)

if (FileExtensions?.Count > 0)
{
if (FileExtensionAllowSubFolders || ContainsSlash(name))
if (FileExtensionAllowSubFolders || !ContainsSlash(name))
{
foreach (var fileExtension in FileExtensions)
{
Expand Down

0 comments on commit 3f7163c

Please sign in to comment.