From 4f558959c2ab4ce328c4c76499df0849375b4247 Mon Sep 17 00:00:00 2001 From: Daniel Griesser Date: Wed, 29 Nov 2017 10:57:40 +0100 Subject: [PATCH] fix: Also skip connection for polling --- CHANGELOG.md | 4 ++++ lib/Steps/Result.ts | 2 -- lib/Steps/WaitForSentry.ts | 3 +++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fa0a5bb4..579b849b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/lib/Steps/Result.ts b/lib/Steps/Result.ts index 076f0f6d..2e633b9c 100755 --- a/lib/Steps/Result.ts +++ b/lib/Steps/Result.ts @@ -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 🎉'); } diff --git a/lib/Steps/WaitForSentry.ts b/lib/Steps/WaitForSentry.ts index 80bb30d3..86ce8e41 100755 --- a/lib/Steps/WaitForSentry.ts +++ b/lib/Steps/WaitForSentry.ts @@ -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);