@@ -10,7 +10,7 @@ const publicApi = {};
10
10
11
11
Object . defineProperty ( publicApi , "getRunningSimulator" , {
12
12
get : ( ) => {
13
- return async ( ...args : any [ ] ) => {
13
+ return ( ...args : any [ ] ) => {
14
14
let isResolved = false ;
15
15
16
16
return new Promise < any > ( ( resolve , reject ) => {
@@ -32,19 +32,19 @@ Object.defineProperty(publicApi, "getRunningSimulator", {
32
32
33
33
Object . defineProperty ( publicApi , "getApplicationPath" , {
34
34
get : ( ) => {
35
- return async ( ...args : any [ ] ) => {
35
+ return ( ...args : any [ ] ) => {
36
36
let simulator = getSimulator ( ) ;
37
- let result = await simulator . getApplicationPath . apply ( simulator , args ) ;
37
+ let result = simulator . getApplicationPath . apply ( simulator , args ) ;
38
38
return result ;
39
39
}
40
40
}
41
41
} ) ;
42
42
43
43
Object . defineProperty ( publicApi , "getInstalledApplications" , {
44
44
get : ( ) => {
45
- return async ( ...args : any [ ] ) => {
45
+ return ( ...args : any [ ] ) => {
46
46
let simulator = getSimulator ( ) ;
47
- let installedApplications : IApplication [ ] = await simulator . getInstalledApplications . apply ( simulator , args ) ;
47
+ let installedApplications : IApplication [ ] = simulator . getInstalledApplications . apply ( simulator , args ) ;
48
48
let result = _ . map ( installedApplications , application => application . appIdentifier ) ;
49
49
return result ;
50
50
}
0 commit comments