From 976b0a216827f83ac18ecca5d044d768d7695ba8 Mon Sep 17 00:00:00 2001 From: Calvin Montgomery Date: Sun, 8 Apr 2018 19:17:03 -0700 Subject: [PATCH] Fix error introduced by lint changes --- .eslintrc.yml | 2 +- package.json | 2 +- src/channel/channel.js | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) 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');