fix(linux): The productID should be a number not a description string (#1279)

fix: #1278
This commit is contained in:
Erik Kallen 2017-08-07 02:28:53 +02:00 • committed by Francis Gulotta
parent 648a7f556a
commit bf46f682d4

View file

@ -14,7 +14,7 @@ function propName(name) {
'ID_VENDOR_ENC': 'manufacturer', 'ID_VENDOR_ENC': 'manufacturer',
'ID_SERIAL_SHORT': 'serialNumber', 'ID_SERIAL_SHORT': 'serialNumber',
'ID_VENDOR_ID': 'vendorId', 'ID_VENDOR_ID': 'vendorId',
'ID_MODEL_ENC': 'productId', 'ID_MODEL_ID': 'productId',
'DEVLINKS': 'pnpId' 'DEVLINKS': 'pnpId'
}[name.toUpperCase()]; }[name.toUpperCase()];
} }