nuke icon indicating copy to clipboard operation
nuke copied to clipboard

Guard against IndexOutOfRange exception if change log is empty

Open Simusharp opened this issue 4 years ago • 0 comments

List.FindIndex returns -1 if not found. This throws an exception. I added a termination condition if the change log is empty.

I confirm that the pull-request:

  • [x] Follows the contribution guidelines
  • [x] Is based on my own work
  • [x] Is in compliance with my employer

Simusharp avatar Mar 06 '21 19:03 Simusharp