Fix all lib/ files with ESLint rules with 0 errors.

This commit is contained in:
Gunther Brunner
2016-01-19 20:52:38 +09:00
parent 994977ea94
commit 434f63b3a9
69 changed files with 793 additions and 764 deletions

View File

@@ -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)
}