Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c54055e

Browse files
committed
#559
1 parent 996b552 commit c54055e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/unittests/configuration.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ export function displayPromptToEnableTests(rootDir: string, outputChannel: vscod
126126
const noNotAgain = `No, don't ask again`;
127127

128128
return checkIfHasTestDirs(rootDir).then(hasTests => {
129-
if (!yes) {
129+
if (!hasTests) {
130130
return Promise.reject(null);
131131
}
132132
return vscode.window.showInformationMessage('You seem to have tests, would you like to enable a test framework?', yes, no, noNotAgain).then(item => {

0 commit comments

Comments
 (0)