summaryrefslogtreecommitdiffstats
path: root/server/lib/pci/index.js
diff options
context:
space:
mode:
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 d43e154..163f78e 100644
--- a/server/lib/pci/index.js
+++ b/server/lib/pci/index.js
@@ -80,7 +80,7 @@ async function downloadPciIds (sha) {
const file = buffer.toString('utf-8')
// Override the content in the pci.ids file with the new one
- fs.writeFile(pciIdsFilePath, file, { flag: 'w' }, (err) => {
+ fs.writeFileSync(pciIdsFilePath, file, { flag: 'w' }, (err) => {
if (err) throw err
// Reparse the pci file