Rename the cy.exec() code property to exitCode for Cypress 15
ProprietaryCypress 15 renamed the code property of the cy.exec() result to exitCode. Changes cy.exec(...).its('code') to cy.exec(...).its('exitCode'). Reads of .code through .then() callbacks are not changed.
org. openrewrite. nodejs. migrate. cypress. MigrateCypress15ExecExitCodemod run . --recipe= org. openrewrite. nodejs. migrate. cypress. MigrateCypress15ExecExitCodeInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.