Skip to content

Commit

Permalink
Stringify value in normalize_files
Browse files Browse the repository at this point in the history
  • Loading branch information
pykong committed Feb 26, 2020
1 parent 711bc0a commit 0bef849
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pathspec/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ def normalize_files(files, separators=None):
"""
norm_files = {}
for path in files:
norm_files[normalize_file(path, separators=separators)] = path
norm_files[normalize_file(path, separators=separators)] = str(path)
return norm_files

def register_pattern(name, pattern_factory, override=None):
Expand Down

0 comments on commit 0bef849

Please sign in to comment.