diff --git a/src/plugins/market.ts b/src/plugins/market.ts index 6299dca23..a55f48724 100644 --- a/src/plugins/market.ts +++ b/src/plugins/market.ts @@ -30,7 +30,7 @@ export class Market { successName: 'success', errorName: 'failure' }) - static open(appId: string): Promise { return } + static open(appId: string): Promise { return; } /** * Search apps by keyword @@ -43,6 +43,6 @@ export class Market { errorName: 'failure', platforms: ['Android'] }) - static search(keyword: string): Promise { return } + static search(keyword: string): Promise { return; } } diff --git a/src/plugins/plugin.ts b/src/plugins/plugin.ts index 09ec79bbe..eea6f2290 100644 --- a/src/plugins/plugin.ts +++ b/src/plugins/plugin.ts @@ -130,7 +130,7 @@ function callCordovaPlugin(pluginObj: any, methodName: string, args: any[], opts } catch (e) { value = { error: 'cordova_not_available' - } + }; } return value; }