Skip to content

Commit

Permalink
fix: change expandGlob back to proc
Browse files Browse the repository at this point in the history
Closes #21
  • Loading branch information
citycide committed Jul 21, 2018
1 parent 6fada01 commit 98a5c79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/glob.nim
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ iterator initStack (
for realPath in walkPattern(normalized):
push realPath

func expandGlob (pattern: string, ignoreCase: bool): string =
proc expandGlob (pattern: string, ignoreCase: bool): string =
if pattern.hasMagic: return pattern

for path, _ in initStack(pattern, {pcDir, pcLinkToDir}, ignoreCase):
Expand Down

0 comments on commit 98a5c79

Please sign in to comment.