[wp-trac] [WordPress Trac] #53687: `grunt verify:old-files` incorrectly flagging certain files

WordPress Trac noreply at wordpress.org
Mon May 23 18:48:02 UTC 2022


#53687: `grunt verify:old-files` incorrectly flagging certain files
-------------------------------------------------+-------------------------
 Reporter:  desrosj                              |       Owner:
                                                 |  hellofromTonya
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  6.1
Component:  Build/Test Tools                     |     Version:  5.7
 Severity:  normal                               |  Resolution:
 Keywords:  needs-testing needs-patch needs-     |     Focuses:
  refresh                                        |
-------------------------------------------------+-------------------------
Changes (by hellofromTonya):

 * owner:  (none) => hellofromTonya
 * status:  reopened => assigned
 * milestone:  Future Release => 6.1


Comment:

 Ran into this issue today during Dry Run when running `npm run grunt
 prerelease`. An older file, i.e. `src/wp-
 includes/blocks/heading/editor.css`, was created from an older `npm run
 build:dev`. That files was removed in WP 5.9. As a result, the `verify
 :old-files` grunt task failed as the file was added into the `build`
 folder.

 As @azaozz suggests, cleaning `src` before running `build` would have
 resolved the issue and the time lost during Dry Run.

 Moving this ticket into 6.1 for resolution before 6.1 Dry Run cycle.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53687#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list