Skip to content

[rbs diff] Fix error when empty manifest.yaml - #1762

Merged
soutaro merged 1 commit into
ruby:masterfrom
ksss:fix-diff
Mar 11, 2024
Merged

soutaro merged 1 commit into
ruby:masterfrom
ksss:fix-diff

Conversation

@ksss

@ksss ksss commented Mar 10, 2024

Copy link
Copy Markdown
Collaborator

I have found a problem with an error when manifest.yaml exists but is all comments.

rbs/lib/rbs/diff.rb:86:in `block in build_env': undefined method `[]' for nil (NoMethodError)

          if manifest['dependencies']
                     ^^^^^^^^^^^^^^^^

@soutaro soutaro left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! 👍

@soutaro soutaro added this to the RBS 3.5 milestone Mar 11, 2024
@soutaro
soutaro added this pull request to the merge queue Mar 11, 2024
Merged via the queue into ruby:master with commit b28123c Mar 11, 2024
@ksss
ksss deleted the fix-diff branch March 11, 2024 01:39
@soutaro soutaro added the Released PRs already included in the released version label Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Released PRs already included in the released version

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants