node-raspberrypi-usbboot
Advanced tools
Comparing version 0.2.3-init-error-99-fd4b6fcb28e15e850b9444caecaec3f050db794c to 0.2.3
@@ -329,11 +329,2 @@ "use strict"; | ||
this.boundDetachDevice = this.detachDevice.bind(this); | ||
// 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 && usb.INIT_ERROR !== -99) { | ||
throw new Error( | ||
// @ts-ignore | ||
`USB failed to initialize, libusb_init returned ${usb.INIT_ERROR}`); | ||
} | ||
} | ||
@@ -340,0 +331,0 @@ start() { |
@@ -9,3 +9,3 @@ # Change Log | ||
* Don't throw if libusb_init() returns -99 [Juan Cruz Viotti] | ||
* Don't crash on initialization [Juan Cruz Viotti] | ||
@@ -12,0 +12,0 @@ ## 0.2.2 - 2019-03-20 |
{ | ||
"name": "node-raspberrypi-usbboot", | ||
"version": "0.2.3-init-error-99-fd4b6fcb28e15e850b9444caecaec3f050db794c", | ||
"version": "0.2.3", | ||
"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
27828084
516