mirror of
https://github.com/openstf/stf
synced 2025-10-04 02:09:32 +02:00
Fix all lib/ files with ESLint rules with 0 errors.
This commit is contained in:
parent
994977ea94
commit
434f63b3a9
69 changed files with 793 additions and 764 deletions
|
@ -15,7 +15,7 @@ module.exports.NoSuchLineError = NoSuchLineError
|
|||
|
||||
module.exports.readAll = function(stream) {
|
||||
var resolver = Promise.defer()
|
||||
, collected = new Buffer(0)
|
||||
var collected = new Buffer(0)
|
||||
|
||||
function errorListener(err) {
|
||||
resolver.reject(err)
|
||||
|
@ -45,7 +45,7 @@ module.exports.readAll = function(stream) {
|
|||
|
||||
module.exports.findLine = function(stream, re) {
|
||||
var resolver = Promise.defer()
|
||||
, piped = stream.pipe(split())
|
||||
var piped = stream.pipe(split())
|
||||
|
||||
function errorListener(err) {
|
||||
resolver.reject(err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue