Skip to content

Commit

Permalink
Use file-relative path to file in the uvc-control package
Browse files Browse the repository at this point in the history
  • Loading branch information
joelpurra committed Feb 1, 2018
1 parent 2340aaf commit a4eb66f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/usb-device-lister.js
Expand Up @@ -23,7 +23,7 @@ const {
} = require("child_process");

// NOTE: using external code to avoid directly depending on the "usb" package.
const usbDeviceListerPath = "./node_modules/uvc-control/list-devices.js";
const usbDeviceListerPath = `${__dirname}/../node_modules/uvc-control/list-devices.js`;

module.exports = class UsbDeviceLister {
constructor() {
Expand Down

0 comments on commit a4eb66f

Please sign in to comment.