Skip to content

Commit 4dba0ad

Browse files
committed
fix:自动修复可能会有脏数据,没清理干净
1 parent 038708b commit 4dba0ad

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cvbManager.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,7 @@ export class TCVB {
255255
} catch (error) {
256256
vscode.window.showWarningMessage('TCVB格式输出有错误,正在尝试主动修复...');
257257
const fixedContent = TCVB.autoFixTCVBContent(tcStrContent);
258+
this.m_arrOperations = [];
258259
this.parse(fixedContent);
259260
}
260261
}

0 commit comments

Comments
 (0)