Fix error introduced by lint changes

This commit is contained in:
Calvin Montgomery 2018-04-08 19:17:03 -07:00
parent e9a183bf9a
commit 976b0a2168
3 changed files with 4 additions and 2 deletions

View file

@ -25,7 +25,7 @@ rules:
no-unused-vars: no-unused-vars:
- error - error
- argsIgnorePattern: ^_ - argsIgnorePattern: ^_
varsIgnorePattern: ^_ varsIgnorePattern: ^_|^Promise$
semi: semi:
- error - error
- always - always

View file

@ -2,7 +2,7 @@
"author": "Calvin Montgomery", "author": "Calvin Montgomery",
"name": "CyTube", "name": "CyTube",
"description": "Online media synchronizer and chat", "description": "Online media synchronizer and chat",
"version": "3.55.6", "version": "3.55.7",
"repository": { "repository": {
"url": "http://github.com/calzoneman/sync" "url": "http://github.com/calzoneman/sync"
}, },

View file

@ -9,6 +9,8 @@ import { ChannelStateSizeError } from '../errors';
import { EventEmitter } from 'events'; import { EventEmitter } from 'events';
import { throttle } from '../util/throttle'; import { throttle } from '../util/throttle';
import Logger from '../logger'; 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'); const LOGGER = require('@calzoneman/jsli')('channel');