fix eslint for opus

This commit is contained in:
Amish Shah
2016-08-25 22:02:36 +01:00
parent ccf513a2fc
commit 7ba37a3511
3 changed files with 5 additions and 2 deletions

View File

@@ -6,6 +6,7 @@ class NodeOpusEngine extends OpusEngine {
constructor(player) {
super(player);
try {
// eslint-disable-next-line import/no-unresolved
opus = require('node-opus');
} catch (err) {
throw err;