lib/spoom/sorbet/sigils.rb in spoom-1.1.12 vs lib/spoom/sorbet/sigils.rb in spoom-1.1.13
- old
+ new
@@ -86,10 +86,10 @@
# finds all files in the specified directory with the passed strictness
sig do
params(
directory: T.any(String, Pathname),
strictness: String,
- extension: String
+ extension: String,
).returns(T::Array[String])
end
def files_with_sigil_strictness(directory, strictness, extension: ".rb")
paths = Dir.glob("#{File.expand_path(directory)}/**/*#{extension}").sort.uniq
paths.filter do |path|