mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 00:03:28 +02:00
Fix all lib/ files with ESLint rules with 0 errors.
This commit is contained in:
@@ -8,7 +8,7 @@ var request = require('request')
|
||||
module.exports = function(path, options) {
|
||||
return new Promise(function(resolve, reject) {
|
||||
var res = request.get(url.resolve(options.storageUrl, path))
|
||||
, ret = new stream.Readable().wrap(res) // Wrap old-style stream
|
||||
var ret = new stream.Readable().wrap(res) // Wrap old-style stream
|
||||
|
||||
res.on('response', function(res) {
|
||||
if (res.statusCode !== 200) {
|
||||
|
||||
Reference in New Issue
Block a user