summaryrefslogtreecommitdiffstats
path: root/server/lib/pci/index.js
diff options
context:
space:
mode:
authorJannik Schönartz2021-03-23 20:02:04 +0100
committerJannik Schönartz2021-03-23 20:02:04 +0100
commit42478ced679cf6f50b6bbff512178467655d79fa (patch)
treeca6fd415f5af01b79a30e202a30e5c5353e32b71 /server/lib/pci/index.js
parent[ipxe] This was uncommited on productive ... (diff)
downloadbas-42478ced679cf6f50b6bbff512178467655d79fa.tar.gz
bas-42478ced679cf6f50b6bbff512178467655d79fa.tar.xz
bas-42478ced679cf6f50b6bbff512178467655d79fa.zip
[server/pci] Add gitignore & small bugfix
Diffstat (limited to 'server/lib/pci/index.js')
-rw-r--r--server/lib/pci/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/pci/index.js b/server/lib/pci/index.js
index 282ad1f..d43e154 100644
--- a/server/lib/pci/index.js
+++ b/server/lib/pci/index.js
@@ -15,7 +15,7 @@ var parsedDeviceClasses = {}
module.exports = {
parseIds: async function (vendorId, deviceId, subvendorId, subdeviceId, classId, subclassId) {
await updatePciIds()
- if (Object.keys(parsedPciList).length === 0) await parsePciList()
+ if (Object.keys(parsedPciList).length === 0) parsePciList()
let pciInformation = {
'vendor': vendorId && vendorId.length === 4 ? {