Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Here's a patch with some code cleanup I needed/ran into while working on #1277484: --no-core option for archive-dump
Comment | File | Size | Author |
---|---|---|---|
no_core_option_for_archive_dump-1277484-18-cleanup.patch | 5.02 KB | helmo |
Comments
Comment #1
moshe weitzman CreditAttribution: moshe weitzman commentedCommitted except for line below since it adds no useful information that the ssertion does not already provide. Those messages should be omitted when possible (this is a newish policy).
Comment #2
helmo CreditAttribution: helmo commentedThanks, I'll remove the message parameter from my new patch in #1277484: --no-core option for archive-dump
Changing it to use assertFileExists instead of 'test' still seems like a good idea.
Comment #3
moshe weitzman CreditAttribution: moshe weitzman commentedI just changed two lines to use assertFileExists(). Thanks.