Skip to content

Commit

Permalink
Merge pull request #1657 from pocke/_collection__Ignore_directory_sta…
Browse files Browse the repository at this point in the history
…rting_with_____as_version_from_git_source

[collection] Ignore directory starting with `_` as version from git source
  • Loading branch information
soutaro committed Nov 30, 2023
2 parents c1f4c8f + ac9ae73 commit 39e6a83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rbs/collection/sources/git.rb
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ def load_metadata(dir:)
if gem_name
versions[gem_name.to_s] ||= Set[]

if version
if version && !version.basename.to_s.start_with?('_')
versions[gem_name.to_s] << version.basename.to_s
end
end
Expand Down

0 comments on commit 39e6a83

Please sign in to comment.