From 954bd876de022fc641c5df73aa32b8924be96e77 Mon Sep 17 00:00:00 2001 From: Max Lynch Date: Thu, 25 Jan 2018 11:44:58 -0600 Subject: [PATCH] Tweaked pro constructor --- src/@ionic-native/plugins/pro/index.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/@ionic-native/plugins/pro/index.ts b/src/@ionic-native/plugins/pro/index.ts index f773a6e9..f1147779 100644 --- a/src/@ionic-native/plugins/pro/index.ts +++ b/src/@ionic-native/plugins/pro/index.ts @@ -137,8 +137,12 @@ export class Pro extends IonicNativePlugin { */ @CordovaCheck({ sync: true }) deploy(): ProDeploy { - if (this._deploy) return this._deploy; - else return this._deploy = new ProDeploy(Pro.getPlugin().deploy); + if (this._deploy) { + return this._deploy; + } else { + this._deploy = new ProDeploy(Pro.getPlugin().deploy); + return this._deploy; + } } /**