summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2019-01-23 18:53:33 -0500
committerGitHub <noreply@github.com>2019-01-23 18:53:33 -0500
commit369ff85dd602f7878c63db6a9ea3f3a735db1f77 (patch)
tree24a5ccf2b742e360a03ef5c902e1c1281d7027e3 /src
parent84aff822087ca151104cd5011b5630f176479b3a (diff)
parenta0bf538f1821f24d6abc2f81bf0b812f4db5afbe (diff)
Merge pull request #2001 from ferd/fix-perf-regression
Fix performance regression in compiler around behaviours
Diffstat (limited to 'src')
-rw-r--r--src/rebar_compiler_erl.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_compiler_erl.erl b/src/rebar_compiler_erl.erl
index 0a560cd..759305c 100644
--- a/src/rebar_compiler_erl.erl
+++ b/src/rebar_compiler_erl.erl
@@ -317,7 +317,7 @@ expand_file_names(Files, Dirs) ->
true ->
[Incl];
false ->
- rebar_utils:find_files_in_dirs(Dirs, Incl, true)
+ rebar_utils:find_files_in_dirs(Dirs, [$^, Incl, $$], true)
end
end, Files).