Skip to content

Assets on a draft release can be null  #454

Closed
@Talkar

Description

Hi
It seems that when creating a new release with assets, the draft release will have a null entry for its assets.
I'm getting a NullReferenceException on this line

var existingAsset = release.Assets.FirstOrDefault(a => a.Name == assetFileName);

image

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions