fix(Pro): CordovaCheck should sync. #2136 #2127

This commit is contained in:
Max Lynch 2018-01-25 11:39:17 -06:00
parent c8ecee01d6
commit f419db5d80

View File

@ -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);