File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,6 @@ const optionCasing = string()
5050 . desc ( 'Casing for serialization' ) ;
5151const optionIgnoreConflicts = boolean ( 'ignore-conflicts' )
5252 . desc ( 'Skip commutativity conflict checks' ) ;
53- // .default(false);
5453
5554export const generate = command ( {
5655 name : 'generate' ,
@@ -128,7 +127,7 @@ export const migrate = command({
128127 } ,
129128 transform : async ( opts ) => {
130129 const migrateConf = await prepareMigrateConfig ( opts . config ) ;
131- return { ...migrateConf , ignoreConflicts : opts . ignoreConflicts } ;
130+ return { ...migrateConf , ... ( opts . ignoreConflicts !== undefined && { ignoreConflicts : opts . ignoreConflicts } ) } ;
132131 } ,
133132 handler : async ( opts ) => {
134133 await assertOrmCoreVersion ( ) ;
You can’t perform that action at this time.
0 commit comments