Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed receiving objects in chunk #267

Merged
merged 2 commits into from Jan 3, 2019
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Prev

Fixed receiving objects in chunk (lint issues fix)

  • Loading branch information
samartnik committed Jan 2, 2019
commit e3cd924be20074bba888de1c9b821eb552ca7c0a
@@ -180,7 +180,7 @@ RequestUtil.prototype.list = function (category, startAt, maxRecords, nextContin
Bucket: this.bucket,
Prefix: prefix
}
if (nextContinuationToken != '') {
if (nextContinuationToken !== '') {
options.ContinuationToken = nextContinuationToken
}
if (startAt) { options.StartAfter = `${prefix}/${startAt}` }
@@ -222,7 +222,7 @@ module.exports.listObjects = function (s3, options, limitResponse) {
resolve({
contents: data.Contents,
isTruncated: data.IsTruncated,
nextContinuationToken : data.NextContinuationToken
nextContinuationToken: data.NextContinuationToken
})
}
})
@@ -232,7 +232,7 @@ module.exports.listObjects = function (s3, options, limitResponse) {
resolve({
contents: data,
isTruncated: false,
nextContinuationToken : ''
nextContinuationToken: ''
})
})
}
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.