You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AMENDMENTS was defined as a String, not an Array. And splatting the
array into `#gsub` doesn't work if there is more than one element - we
would need to use `Regexp.union` instead...
but actually I ended up removing AMENDMENTS altogether. All we want to
do is to add an extra newline before each cop entry. Only new cop
entries starts at the beginning of line, and contains a slash character
after the first word. This means we don't need AMENDMENTS at all, and we
no longer need the capture in EXTENSION_ROOT_DEPARTMENT.
0 commit comments