Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Sijawusz Pur Rahnama <[email protected]>
  • Loading branch information
nobodywasishere and Sija authored Jan 24, 2025
1 parent d59538e commit 5aff499
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ameba/glob_utils.cr
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ module Ameba
globs
.flat_map do |glob|
if File.directory?(glob)
suffix = ".cr"
ext = ".cr"

Ameba.ecr_supported? do
suffix = ".{cr,ecr}"
ext = ".{cr,ecr}"
end

glob += "/**/*#{suffix}"
glob += "/**/*#{ext}"
end

Dir[glob]
Expand Down

0 comments on commit 5aff499

Please sign in to comment.