Skip to content

Commit

Permalink
Do not run pester tests when user cancels questions using the x button (
Browse files Browse the repository at this point in the history
  • Loading branch information
bergmeister authored and TylerLeonhardt committed Jan 22, 2019
1 parent 6bda814 commit 88cabc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/features/PesterTests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export class PesterTestsFeature implements IFeature {
`Would you like to ${runInDebugger ? "debug" : "run"} all the tests in this file?`,
"Yes", "No");

if (answer === "No") {
if (answer !== "Yes") {
return;
}
}
Expand Down

0 comments on commit 88cabc4

Please sign in to comment.