Skip to content

Commit

Permalink
Change back productID to be a number
Browse files Browse the repository at this point in the history
Fixes serialport#1278 The productID should be a number not a description string
  • Loading branch information
erikkallen authored Aug 3, 2017
1 parent 92c7dd4 commit ed11282
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bindings/linux-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function propName(name) {
'ID_VENDOR_ENC': 'manufacturer',
'ID_SERIAL_SHORT': 'serialNumber',
'ID_VENDOR_ID': 'vendorId',
'ID_MODEL_ENC': 'productId',
'ID_MODEL_ID': 'productId',
'DEVLINKS': 'pnpId'
}[name.toUpperCase()];
}
Expand Down

0 comments on commit ed11282

Please sign in to comment.