continuous-integration/drone/push Build is passingDetails
continuous-integration/drone/pr Build is passingDetails
This commit refactors the keep-drop parsing into two separate
functions: one for extracting keep-drop text, and one for actually
doing something with the extracted values. An intermediate enum is
introduced to contain extracted text, instead of relying on Ok/Err
values directly for figuring out what to do with the values.
This allows us to express "this behavior is correct, and all others
are not" instead of using a "fall back to secondary functionality"
approach.