Skip to content

Commit 65507b1

Browse files
committed
fix: default ignore schema validation to true
1 parent 4214e78 commit 65507b1

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/commands/content-item/sync.service.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,12 @@ export class ContentItemSyncService {
1919
action: (job: Job) => void,
2020
options: { ignoreSchemaValidation?: boolean; forceSync?: boolean }
2121
): void {
22+
console.log(options.ignoreSchemaValidation, options.ignoreSchemaValidation ?? true);
2223
this.queue.add(async () => {
2324
const createSyncJob = await hub.related.jobs.createDeepSyncJob(
2425
new CreateDeepSyncJobRequest({
2526
label: `dc-cli content item: ${contentItem.label}`,
26-
ignoreSchemaValidation: options.ignoreSchemaValidation || false,
27+
ignoreSchemaValidation: options.ignoreSchemaValidation ?? true,
2728
forceSync: options.forceSync || false,
2829
destinationHubId,
2930
input: { rootContentItemIds: [contentItem.id] }

0 commit comments

Comments
 (0)