Skip to content

Commit b705d08

Browse files
committed
Error when calling commands testString and showVersion.
1 parent 551d88c commit b705d08

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Here are a few common issues.
1818
### Changed
1919

2020
- Update to [TypeScript 3.7](https://devblogs.microsoft.com/typescript/announcing-typescript-3-7/).
21+
- There was an error when calling commands `testString` and `showVersion`.
2122

2223
## [0.1.0] - 2019-11-05
2324

src/extension.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ export function activate(context: vscode.ExtensionContext) {
4242
vscode.commands.registerCommand('string.checker.js.excludeToken', (node) => commands.addTokenDictionary(DictionaryType.ExcludeToken, node)),
4343
vscode.commands.registerCommand('string.checker.js.switchView', () => tree.switchView().refresh()),
4444
vscode.commands.registerCommand('string.checker.js.filterTokens', () => commands.filterTokens(tree)),
45-
vscode.commands.registerCommand('string.checker.js.testString', commands.testString),
46-
vscode.commands.registerCommand('string.checker.js.showVersion', commands.showVersion)
45+
vscode.commands.registerCommand('string.checker.js.testString', () => commands.testString()),
46+
vscode.commands.registerCommand('string.checker.js.showVersion', () => commands.showVersion())
4747
);
4848

4949
function focusFirstItem() {

0 commit comments

Comments
 (0)