Skip to content

Commit 25a6142

Browse files
authored
Merge pull request #206 from alexilyenko/patch-1
Add support for tvOS and watchOS
2 parents 67b05bc + 8fd7834 commit 25a6142

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ function getDeviceFromDeviceTypeId(devicetypeid) {
189189
}
190190

191191
// prepend iOS to runtime version, if necessary
192-
if (ret_obj.runtime.indexOf('iOS') === -1) {
192+
if (ret_obj.runtime.indexOf('OS') === -1) {
193193
ret_obj.runtime = util.format('iOS %s', ret_obj.runtime);
194194
}
195195

0 commit comments

Comments
 (0)