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

Update-Metadata fails if specified value is an empty string #41

Open
AdmiringWorm opened this issue Jan 4, 2022 · 0 comments
Open

Update-Metadata fails if specified value is an empty string #41

AdmiringWorm opened this issue Jan 4, 2022 · 0 comments
Assignees
Labels
Milestone

Comments

@AdmiringWorm
Copy link
Member

Describe the bug

When calling Update-Metadata the call fails if the specified value is an empty string, even if that is intentional.

To Reproduce

  1. Call Update-Metadata -key 'releaseNotes' -value '' with a nuspec file in the current directory and make sure the releaseNotes element exists.

Expected behavior

Did not expect the call to fail, but instead just set the elements inner text to empty (possibly with a warning).

Screenshots

Desktop (please complete the following information):

  • OS: [e.g. Windows 10] Windows 10
  • Version: [e.g. 0.3.0] 0.4.1
  • Powershell version: PS 5.1.19041.1320
  • AU Version: 2021.7.18

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant