mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-04-26 12:50:19 +08:00
Tweaked pro constructor
This commit is contained in:
parent
f419db5d80
commit
954bd876de
@ -137,8 +137,12 @@ export class Pro extends IonicNativePlugin {
|
|||||||
*/
|
*/
|
||||||
@CordovaCheck({ sync: true })
|
@CordovaCheck({ sync: true })
|
||||||
deploy(): ProDeploy {
|
deploy(): ProDeploy {
|
||||||
if (this._deploy) return this._deploy;
|
if (this._deploy) {
|
||||||
else return this._deploy = new ProDeploy(Pro.getPlugin().deploy);
|
return this._deploy;
|
||||||
|
} else {
|
||||||
|
this._deploy = new ProDeploy(Pro.getPlugin().deploy);
|
||||||
|
return this._deploy;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user