mirror of
https://github.com/balena-io/etcher.git
synced 2025-04-24 07:17:18 +00:00
fix(usbboot): opening device debug message prints undefined (#1776)
We have a debug message that prints `device.name`, which is not a valid property, and therefore the debug logs show `undefined` instead of the USB id pair. Change-Type: patch Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
This commit is contained in:
parent
e54a8ae92b
commit
df05d4cc08
@ -339,7 +339,7 @@ exports.scan = (options) => {
|
||||
device.adaptor = exports.name
|
||||
|
||||
// We need to open the device in order to access _configDescriptor
|
||||
debug(`Opening device: ${device.name}`)
|
||||
debug(`Opening device: ${device.displayName}`)
|
||||
device.open()
|
||||
|
||||
// Ensures we don't wait forever if an issue occurs
|
||||
|
Loading…
x
Reference in New Issue
Block a user