Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(tag): crash when visualizing tag with no value #29

Merged
merged 1 commit into from
Sep 12, 2023

Conversation

mure
Copy link
Collaborator

@mure mure commented Sep 12, 2023

Pull Request

🤨 Rationale

https://dev.azure.com/ni/DevCentral/_workitems/edit/2508350

This fixes an edge case where someone tries to visualize the current value of a tag that exists but has never been written to.

👩‍💻 Implementation

There isn't a useful workflow in this case, so I just took the simplest possible approach - returning an empty field when there's no current value.

🧪 Testing

  • Added auto test

✅ Checklist

@mure mure merged commit 81aa28e into main Sep 12, 2023
1 check passed
@mure mure deleted the tag-no-current-value branch September 12, 2023 18:09
mure pushed a commit that referenced this pull request Sep 12, 2023
## [3.0.2](v3.0.1...v3.0.2) (2023-09-12)

### Bug Fixes

* **tag:** crash when visualizing tag with no value ([#29](#29)) ([81aa28e](81aa28e))
@mure
Copy link
Collaborator Author

mure commented Sep 12, 2023

🎉 This PR is included in version 3.0.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

@mure mure added the released label Sep 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants