Skip to content

Commit b728f68

Browse files
committed
Fix PR comments
1 parent 41cc259 commit b728f68

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

lib/ios-sim.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ Object.defineProperty(publicApi, "getInstalledApplications", {
7878
Object.defineProperty(publicApi, "launchApplication", {
7979
get: () => {
8080
return (...args: any[]) => {
81-
let libraryPath = require("./iphone-simulator");
82-
let obj = new libraryPath.iPhoneSimulator();
81+
const libraryPath = require("./iphone-simulator");
82+
const obj = new libraryPath.iPhoneSimulator();
8383
return obj.run.apply(obj, args);
8484
}
8585
}
@@ -88,8 +88,8 @@ Object.defineProperty(publicApi, "launchApplication", {
8888
Object.defineProperty(publicApi, "printDeviceTypes", {
8989
get: () => {
9090
return (...args: any[]) => {
91-
let libraryPath = require("./iphone-simulator");
92-
let obj = new libraryPath.iPhoneSimulator();
91+
const libraryPath = require("./iphone-simulator");
92+
const obj = new libraryPath.iPhoneSimulator();
9393
return obj.printDeviceTypes.apply(obj, args);
9494
}
9595
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ios-sim-portable",
3-
"version": "3.3.3",
3+
"version": "3.4.0",
44
"description": "",
55
"main": "./lib/ios-sim.js",
66
"scripts": {

0 commit comments

Comments
 (0)