Skip to content

craft-hub / rollbackProfileMigration

Function: rollbackProfileMigration() ​

rollbackProfileMigration(transaction, revision, assertHostsStopped, expectedReview?): Promise<ProfileMigrationReceipt>

Defined in: packages/craft-hub/src/profile-migration.ts:464

Roll back without deleting either the Electron source or edits made after migration.

Parameters ​

transaction ​

string

revision ​

string

assertHostsStopped ​

() => Promise<void>

expectedReview? ​

string

Returns ​

Promise<ProfileMigrationReceipt>

Released under the MIT License.