node-raspberrypi-usbboot
Advanced tools
Comparing version 0.2.2 to 0.2.3-init-error-99-fd4b6fcb28e15e850b9444caecaec3f050db794c
@@ -330,4 +330,6 @@ "use strict"; | ||
// This is an undocumented property | ||
// Code -99 means that there is no available USB interface, | ||
// in which case it would be an expected error in i.e. CI. | ||
// @ts-ignore | ||
if (usb.INIT_ERROR) { | ||
if (usb.INIT_ERROR && usb.INIT_ERROR !== -99) { | ||
throw new Error( | ||
@@ -334,0 +336,0 @@ // @ts-ignore |
@@ -7,2 +7,6 @@ # Change Log | ||
## 0.2.3 - 2019-03-20 | ||
* Don't throw if libusb_init() returns -99 [Juan Cruz Viotti] | ||
## 0.2.2 - 2019-03-20 | ||
@@ -9,0 +13,0 @@ |
{ | ||
"name": "node-raspberrypi-usbboot", | ||
"version": "0.2.2", | ||
"version": "0.2.3-init-error-99-fd4b6fcb28e15e850b9444caecaec3f050db794c", | ||
"description": "Transforms Raspberry Pi Compute Modules and Zeros to mass storage devices.", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
27828746
525