diff --git a/.eslintrc.yml b/.eslintrc.yml index 5a14c560..add6f409 100644 --- a/.eslintrc.yml +++ b/.eslintrc.yml @@ -25,7 +25,7 @@ rules: no-unused-vars: - error - argsIgnorePattern: ^_ - varsIgnorePattern: ^_ + varsIgnorePattern: ^_|^Promise$ semi: - error - always diff --git a/package.json b/package.json index 6514d123..003a910e 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "author": "Calvin Montgomery", "name": "CyTube", "description": "Online media synchronizer and chat", - "version": "3.55.6", + "version": "3.55.7", "repository": { "url": "http://github.com/calzoneman/sync" }, diff --git a/src/channel/channel.js b/src/channel/channel.js index 1b9d24c4..72a84092 100644 --- a/src/channel/channel.js +++ b/src/channel/channel.js @@ -9,6 +9,8 @@ import { ChannelStateSizeError } from '../errors'; import { EventEmitter } from 'events'; import { throttle } from '../util/throttle'; import Logger from '../logger'; +// Not directly used, but needs to be in scope for async functions +import Promise from 'bluebird'; const LOGGER = require('@calzoneman/jsli')('channel');