Delete ,
Open
bucket,
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'debug',·'Sending·file:'
with "debug",·"Sending·file:"
Open
log('debug', 'Sending file:', file, key);
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'debug',·'File·sent:'
with "debug",·"File·sent:"
Open
log('debug', 'File sent:', file, key);
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'debug',·'Website·rules·set.'
with "debug",·"Website·rules·set."
Open
log('debug', 'Website rules set.');
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'info',·'Deploying·'
with "info",·"Deploying·"
Open
log('info', 'Deploying ' + version);
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ,
Open
absolute: true,
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'E_SCAN_FAILURE'
with "E_SCAN_FAILURE"
Open
throw YError.wrap(err, 'E_SCAN_FAILURE', pattern);
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'public-read',
with "public-read"
Open
ACL: 'public-read',
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'info',·'Seeking·for·old·versions·to·remove.'
with "info",·"Seeking·for·old·versions·to·remove."
Open
log('info', 'Seeking for old versions to remove.');
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'ENV',·'glob',·'fs',·'log',·'s3',·'mime',·'git',·'time'
with "ENV",·"glob",·"fs",·"log",·"s3",·"mime",·"git",·"time"
Open
dependencies = ['ENV', 'glob', 'fs', 'log', 's3', 'mime', 'git', 'time']
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'yerror'
with "yerror"
Open
const YError = require('yerror');
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'stack',·'Stack:'
with "stack",·"Stack:"
Open
log('stack', 'Stack:', err.stack);
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'E_DIR_REQUIRED'
with "E_DIR_REQUIRED"
Open
throw new YError('E_DIR_REQUIRED', typeof dir, dir);
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'E_BUCKET_REQUIRED'
with "E_BUCKET_REQUIRED"
Open
throw new YError('E_BUCKET_REQUIRED', typeof bucket, bucket);
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ,
Open
Objects: objects.Contents.map(({ Key }) => ({ Key })),
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'E_S3_UPLOAD_ERROR'
with "E_S3_UPLOAD_ERROR"
Open
throw YError.wrap(err, 'E_S3_UPLOAD_ERROR', file, key);
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ,
Open
},
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ,
Open
},
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace '/index.html',
with "/index.html"
Open
Key: version + '/index.html',
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'debug',·'Files·'
with "debug",·"Files·"
Open
log('debug', 'Files ', objects);
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'string'
with "string"
Open
if ('string' !== typeof version) {
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace '/index.html',
with "/index.html"
Open
KeyPrefixEquals: '/index.html',
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'E_VERSION_REQUIRED'
with "E_VERSION_REQUIRED"
Open
throw new YError('E_VERSION_REQUIRED', typeof version, version);
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace '·versions·to·potentially·remove.'
with "·versions·to·potentially·remove."
Open
' versions to potentially remove.'
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ,
Open
ContentType: mime.lookup(file),
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'string'
with "string"
Open
if ('string' !== typeof bucket) {
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'info',·'Successfully·deployed·'
with "info",·"Successfully·deployed·"
Open
log('info', 'Successfully deployed ' + version);
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'Found·'
with "Found·"
Open
'Found ' +
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'path'
with "path"
Open
const path = require('path');
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ,
Open
],
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ,
Open
},
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace '.git/**/*'
with ".git/**/*"
Open
ignore = '.git/**/*',
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'debug',·'Files:'
with "debug",·"Files:"
Open
log('debug', 'Files:', files);
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'public-read'
with "public-read"
Open
ACL: 'public-read',
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'debug',·'Bucket·ACLs·set.'
with "debug",·"Bucket·ACLs·set."
Open
log('debug', 'Bucket ACLs set.');
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace '/index.html',
with "/index.html"
Open
ReplaceKeyWith: version + '/index.html',
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'debug'
with "debug"
Open
log('debug', 'Listing objects for version "' + commit.tag + '"');
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'debug',·'Succesfully·scanned·files'
with "debug",·"Succesfully·scanned·files"
Open
log('debug', 'Succesfully scanned files', pattern);
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'string'
with "string"
Open
if ('string' !== typeof dir) {
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'error',·'Directory·scan·failure:'
with "error",·"Directory·scan·failure:"
Open
log('error', 'Directory scan failure:', pattern);
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'debug'
with "debug"
Open
'debug',
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace '/',
with "/"
Open
Prefix: commit.tag + '/',
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'info'
with "info"
Open
log('info', 'No objects found for version "' + commit.tag + '"');
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'E_NO_FILES'
with "E_NO_FILES"
Open
throw new YError('E_NO_FILES', pattern);
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'debug',·'Setting·up·the·bucket·ACLs.'
with "debug",·"Setting·up·the·bucket·ACLs."
Open
log('debug', 'Setting up the bucket ACLs.');
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'debug',·'Setting·up·the·website·rules.'
with "debug",·"Setting·up·the·website·rules."
Open
log('debug', 'Setting up the website rules.');
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ,
Open
},
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'info'
with "info"
Open
log('info', 'Removing objects for version "' + commit.tag + '"');
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'use·strict'
with "use·strict"
Open
'use strict';
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'cloudPages'
with "cloudPages"
Open
name = 'cloudPages',
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace '**/*'
with "**/*"
Open
files = '**/*',
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace 'index.html',
with "index.html"
Open
Suffix: 'index.html',
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/