mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 12:53:21 +02:00
Fix all lib/ files with ESLint rules with 0 errors.
This commit is contained in:
@@ -15,8 +15,8 @@ var logger = require('../../util/logger')
|
||||
|
||||
module.exports = function(options) {
|
||||
var log = logger.createLogger('storage:s3')
|
||||
, app = express()
|
||||
, server = http.createServer(app)
|
||||
var app = express()
|
||||
var server = http.createServer(app)
|
||||
|
||||
var s3 = new AWS.S3({
|
||||
credentials: new AWS.SharedIniFileCredentials({
|
||||
@@ -80,7 +80,7 @@ module.exports = function(options) {
|
||||
var file = files[field]
|
||||
log.info('Uploaded "%s" to "%s"', file.name, file.path)
|
||||
return putObject(plugin, file)
|
||||
.then(function (id) {
|
||||
.then(function(id) {
|
||||
return {
|
||||
field: field
|
||||
, id: id
|
||||
@@ -151,5 +151,5 @@ module.exports = function(options) {
|
||||
})
|
||||
|
||||
server.listen(options.port)
|
||||
console.log('Listening on port %d', options.port)
|
||||
log.info('Listening on port %d', options.port)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user