Skip to content

Commit 42f2538

Browse files
committed
fix console warnings
1 parent 1bc7777 commit 42f2538

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/client/unittests/main.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ export function activate(context: vscode.ExtensionContext, outputChannel: vscode
3939
settings.addListener('change', onConfigChanged);
4040
context.subscriptions.push(activateCodeLenses());
4141

42-
displayPromptToEnableTests(vscode.workspace.rootPath, outChannel);
42+
//Swallow rejections (else written to console as unhandled promise rejections)
43+
displayPromptToEnableTests(vscode.workspace.rootPath, outChannel).then(() => { }, () => { });
4344
}
4445
function dispose() {
4546
if (pyTestManager) {

0 commit comments

Comments
 (0)