Skip to content

Commit 7af6179

Browse files
committed
fix #502 add missing dependency
1 parent d81b053 commit 7af6179

File tree

3 files changed

+10
-20
lines changed

3 files changed

+10
-20
lines changed

package-lock.json

Lines changed: 6 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "appium-device-farm",
3-
"version": "2.0.0-beta.1",
3+
"version": "2.0.0-beta.2",
44
"description": "An appium 2.0 plugin that manages and create driver session on available devices",
55
"main": "./lib/index.js",
66
"scripts": {
@@ -62,7 +62,8 @@
6262
"tcp-port-used": "^1.0.2",
6363
"typedi": "^0.10.0",
6464
"uuid": "^8.3.2",
65-
"yargs": "^17.5.1"
65+
"yargs": "^17.5.1",
66+
"ora": "5.4.1"
6667
},
6768
"peerDependencies": {
6869
"appium": "^2.0.0-beta.43"

src/plugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ class DevicePlugin extends BasePlugin {
171171
}
172172
}
173173

174-
async function spinWith(msg: string | ora.Options | undefined, fn: () => any) {
174+
async function spinWith(msg: string, fn: () => any) {
175175
const spinner = ora(msg).start();
176176
let res;
177177
try {

0 commit comments

Comments
 (0)