Skip to content

Commit

Permalink
Merge pull request #5 from DACH-NY/fix-uniplate-2
Browse files Browse the repository at this point in the history
Fix `segment '.' not permitted`
  • Loading branch information
aherrmann-da authored Dec 17, 2018
2 parents ed2bd02 + beaa750 commit 501ee45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion third_party/cabal2bazel/bzl/cabal_package.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def _module_output(file, ending):
def _find_module_by_ending(modulePath, ending, sourceDirs):
# Find module source file in source directories.
files = native.glob([
paths.join(d, modulePath + "." + ending)
paths.join(d if d != "." else "", modulePath + "." + ending)
for d in sourceDirs
])
if len(files) == 0:
Expand Down

0 comments on commit 501ee45

Please sign in to comment.