Skip to content

Commit

Permalink
fix: Also skip connection for polling
Browse files Browse the repository at this point in the history
  • Loading branch information
HazAT committed Nov 29, 2017
1 parent 3e27572 commit 4f55895
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## v0.5.1

- Fix skip connection also for polling

## v0.5.0

- Add skip connection option to skip connecting to Sentry
Expand Down
2 changes: 0 additions & 2 deletions lib/Steps/Result.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ export class Result extends BaseStep {
nl();
if (this.argv.uninstall) {
green('😒 Successfully removed Sentry from your project 😒');
} else if (!_.has(answers, 'wizard')) {
green('πŸ‘Œ Everything is already up and running πŸ‘Œ');
} else {
green('πŸŽ‰ Successfully setup Sentry for your project πŸŽ‰');
}
Expand Down
3 changes: 3 additions & 0 deletions lib/Steps/WaitForSentry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ export class WaitForSentry extends BaseStep {
if (!await getCurrentProject(answers).shouldEmit(answers)) {
return {};
}
if (this.argv.skipConnect) {
return {};
}

return new Promise(async (resolve, reject) => {
this.debug(answers);
Expand Down

0 comments on commit 4f55895

Please sign in to comment.