sul-dlss / happy-heron

Self-Deposit for the Stanford Digital Repository (SDR): H2 is a Rails web application enabling users to deposit scholarly content into SDR
Apache License 2.0
10 stars 2 forks source link

make job starts more clear #3453

Closed peetucket closed 10 months ago

peetucket commented 10 months ago

Why was this change made? 🤔

This code should be equivalent, given a string can't start with two different things. But these jobs are mutually exclusive, so this makes it more explicit in the code that they cannot/should not both be run. See https://stanfordlib.slack.com/archives/C69UZCJ8M/p1706212905853809 for some context for this proposed change.

How was this change tested? 🤨

Existing tests