Skip to content
This repository has been archived by the owner on Oct 8, 2020. It is now read-only.

Commit

Permalink
Fix Credo pipe chain warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
scouten committed Nov 3, 2019
1 parent 8c31b03 commit 14439a8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/xgit/util/file_utils.ex
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ defmodule Xgit.Util.FileUtils do
cover [path]

File.dir?(path) ->
File.ls!(path)
path
|> File.ls!()
|> Enum.map(&Path.join(path, &1))
|> Enum.map(&recursive_files!/1)
|> Enum.concat()
Expand Down

0 comments on commit 14439a8

Please sign in to comment.