remove spurious trailing commas from zeitwerk:check error messages
Since the original message is something like this expected file ... to define constant A, but didn't the \S+ captured the comma. A constant name goes there, so [\w:]+ is enough and won't match the comma.
Showing
想要评论请 注册 或 登录