Skip to content

Commit

Permalink
refactor: 优化打印语句
Browse files Browse the repository at this point in the history
Co-authored-by: ygqygq2 <[email protected]>
  • Loading branch information
ygqygq2 committed Apr 22, 2024
1 parent d109310 commit c68ba34
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,13 @@

All notable changes to the "turbo-console-log" extension will be documented in this file.

# [3.0.6]
# [3.0.7]

## 功能优化

- refactor: 优化打印语句

# [3.0.7]

## 新增功能 🌱

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "turbo-print-log",
"displayName": "Turbo Console Log for more language",
"description": "选中变量,根据不同语言增加一行变量打印日志",
"version": "3.0.7",
"version": "3.0.8",
"publisher": "ygqygq2",
"engines": {
"vscode": "^1.88.0"
Expand Down
1 change: 1 addition & 0 deletions src/test/unit/debug-message/GeneralDebugMessage.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ describe('DebugMessage', () => {
getSingleLineCommentSymbol: vi.fn().mockReturnValue('//'),
getPrintString: vi.fn().mockReturnValue('console.log'),
variableToString: vi.fn().mockReturnValue('value'),
getExtraSpace: vi.fn().mockReturnValue(''),
getConcatenatedString: vi.fn().mockReturnValue(', '),
getPrintStatement: vi.fn().mockReturnValue(`console.log('🚀 ~ test.js: 6 ~ value:', value);`),
getLogFunction: vi.fn().mockReturnValue('log'),
Expand Down

0 comments on commit c68ba34

Please sign in to comment.