Skip to content

Commit b10c7de

Browse files
Remove incorrect async/await
1 parent d48dd0a commit b10c7de

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lib/ios-sim.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const publicApi = {};
1010

1111
Object.defineProperty(publicApi, "getRunningSimulator", {
1212
get: () => {
13-
return async (...args: any[]) => {
13+
return (...args: any[]) => {
1414
let isResolved = false;
1515

1616
return new Promise<any>((resolve, reject) => {
@@ -32,19 +32,19 @@ Object.defineProperty(publicApi, "getRunningSimulator", {
3232

3333
Object.defineProperty(publicApi, "getApplicationPath", {
3434
get: () => {
35-
return async (...args: any[]) => {
35+
return (...args: any[]) => {
3636
let simulator = getSimulator();
37-
let result = await simulator.getApplicationPath.apply(simulator, args);
37+
let result = simulator.getApplicationPath.apply(simulator, args);
3838
return result;
3939
}
4040
}
4141
});
4242

4343
Object.defineProperty(publicApi, "getInstalledApplications", {
4444
get: () => {
45-
return async (...args: any[]) => {
45+
return (...args: any[]) => {
4646
let simulator = getSimulator();
47-
let installedApplications: IApplication[] = await simulator.getInstalledApplications.apply(simulator, args);
47+
let installedApplications: IApplication[] = simulator.getInstalledApplications.apply(simulator, args);
4848
let result = _.map(installedApplications, application => application.appIdentifier);
4949
return result;
5050
}

0 commit comments

Comments
 (0)