From f419db5d8087472f11238a694e9a87ca967a6ad8 Mon Sep 17 00:00:00 2001 From: Max Lynch Date: Thu, 25 Jan 2018 11:39:17 -0600 Subject: [PATCH] fix(Pro): CordovaCheck should sync. #2136 #2127 --- src/@ionic-native/plugins/pro/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/@ionic-native/plugins/pro/index.ts b/src/@ionic-native/plugins/pro/index.ts index 776f0f9a..f773a6e9 100644 --- a/src/@ionic-native/plugins/pro/index.ts +++ b/src/@ionic-native/plugins/pro/index.ts @@ -135,7 +135,7 @@ export class Pro extends IonicNativePlugin { /** * Ionic Pro Deploy .js API. */ - @CordovaCheck() + @CordovaCheck({ sync: true }) deploy(): ProDeploy { if (this._deploy) return this._deploy; else return this._deploy = new ProDeploy(Pro.getPlugin().deploy);