Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
"nanoc check" exception when some issues do not have a subject #804
If a "nanoc check" results in multiple issues, and some issues have a subject and others do not, then the command will fail with a "ArgumentError: comparison of String with nil failed".
A simple solution would be to make issues without a subject default to an empty string, or to a string such as "(no subject)" here. Alternatively, the sort method in the runner can be changed to account for this.