Skip to content

Commit 713cf6c

Browse files
abetomoDeviaVir
authored andcommitted
Modify to follow the rules of the new 'standard' (#463)
Upgrade standard.
1 parent abf230a commit 713cf6c

File tree

9 files changed

+455
-528
lines changed

9 files changed

+455
-528
lines changed

lib/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
const path = require('path')
44
const os = require('os')
55
const aws = require('aws-sdk')
6-
const {exec, execSync, execFile} = require('child_process')
6+
const { exec, execSync, execFile } = require('child_process')
77
const fs = require('fs-extra')
88
const klaw = require('klaw')
99
const packageJson = require(path.join(__dirname, '..', 'package.json'))
@@ -17,7 +17,7 @@ const S3Deploy = require(path.join(__dirname, 's3_deploy'))
1717
const CloudWatchLogs = require(path.join(__dirname, 'cloudwatch_logs'))
1818

1919
const AWSXRay = require('aws-xray-sdk-core')
20-
const {createNamespace} = require('continuation-local-storage')
20+
const { createNamespace } = require('continuation-local-storage')
2121

2222
const maxBufferSize = 50 * 1024 * 1024
2323

lib/s3_deploy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ class S3Deploy {
118118
}
119119

120120
putPackage (params, region, buffer) {
121-
const _params = Object.assign({region: region}, params)
121+
const _params = Object.assign({ region: region }, params)
122122
_params.bucketName = this._bucketName(_params)
123123
_params.s3Key = this._s3Key(_params)
124124

0 commit comments

Comments
 (0)