issue-action icon indicating copy to clipboard operation
issue-action copied to clipboard

bug: Exception thrown if `assignees` is not defined

Open Hotell opened this issue 3 years ago • 0 comments

When some parameters property is not defined it will throw Exception as there is no array to iterate upon:

Example:

image

Fix:

Various:

  • Following line needs to be handled in a defensive way so the program wont throw https://github.com/Naturalclar/issue-action/blob/master/src/setIssueAssignee.ts#L20
  • Explicitly document that all fields are required

Hotell avatar Sep 21 '22 10:09 Hotell