Skip to content

Commit

Permalink
Modify to follow the rules of the new 'standard' (#463)
Browse files Browse the repository at this point in the history
Upgrade standard.
  • Loading branch information
abetomo authored and DeviaVir committed Sep 6, 2018
1 parent abf230a commit 713cf6c
Show file tree
Hide file tree
Showing 9 changed files with 455 additions and 528 deletions.
4 changes: 2 additions & 2 deletions lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
const path = require('path')
const os = require('os')
const aws = require('aws-sdk')
const {exec, execSync, execFile} = require('child_process')
const { exec, execSync, execFile } = require('child_process')
const fs = require('fs-extra')
const klaw = require('klaw')
const packageJson = require(path.join(__dirname, '..', 'package.json'))
Expand All @@ -17,7 +17,7 @@ const S3Deploy = require(path.join(__dirname, 's3_deploy'))
const CloudWatchLogs = require(path.join(__dirname, 'cloudwatch_logs'))

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

const maxBufferSize = 50 * 1024 * 1024

Expand Down
2 changes: 1 addition & 1 deletion lib/s3_deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ class S3Deploy {
}

putPackage (params, region, buffer) {
const _params = Object.assign({region: region}, params)
const _params = Object.assign({ region: region }, params)
_params.bucketName = this._bucketName(_params)
_params.s3Key = this._s3Key(_params)

Expand Down
Loading

0 comments on commit 713cf6c

Please sign in to comment.