delete debug log

This commit is contained in:
duanfuxiang
2025-01-07 14:22:56 +08:00
parent 0f42ce3b80
commit cd172e371d
8 changed files with 12 additions and 32 deletions

View File

@@ -31,13 +31,6 @@ export const manualApplyChangesToFile = async (
throw new Error('Start line cannot be greater than end line')
}
console.log('Applying changes to file:', {
path: currentFile.path,
startLine: effectiveStartLine,
endLine: effectiveEndLine,
contentLength: content.length
})
// Construct new content
return [
...lines.slice(0, effectiveStartLine - 1),

View File

@@ -154,11 +154,9 @@ export function deserializeSettings(data: JSONObject | null | undefined): Result
}
if (isSettingsV0(settings)) {
console.log("Migrating settings from v0 to v1");
settings = migrateFromV0ToV1(settings);
}
if (!isSettingsV1(settings)) {
console.log("Fixing settings structure and value errors");
return fixStructureAndValueErrors(settingsSchema, settings, DEFAULT_SETTINGS);
}