-
Notifications
You must be signed in to change notification settings - Fork 5
docs/sdks/s3/js: move examples into separate files #150
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 4 out of 8 changed files in this pull request and generated no comments.
Files not reviewed (4)
- docs/sdks/s3/aws-go-sdk.mdx: Language not supported
- docs/sdks/s3/aws-js-sdk.mdx: Language not supported
- examples/js/.gitignore: Language not supported
- examples/js/package.json: Language not supported
Comments suppressed due to low confidence (2)
examples/js/presigned-urls.js:9
- [nitpick] The variable name 'S3' is ambiguous. It should be renamed to 's3Client' for better readability.
const S3 = new S3Client({ region: "auto" });
examples/js/getting-started.js:60
- [nitpick] The variable name 'objects' is reused within the forEach loop, which can be confusing. Consider renaming it to 'objectPage' or something more descriptive.
objects.forEach((objects, pageNum) => {
The examples have also been amended to explain themselves better and have all been tested to ensure they work.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 4 out of 8 changed files in this pull request and generated no comments.
Files not reviewed (4)
- docs/sdks/s3/aws-go-sdk.mdx: Language not supported
- docs/sdks/s3/aws-js-sdk.mdx: Language not supported
- examples/js/.gitignore: Language not supported
- examples/js/package.json: Language not supported
Comments suppressed due to low confidence (2)
examples/js/getting-started.js:60
- [nitpick] The variable name 'objects' inside the forEach loop is ambiguous. It should be renamed to 'objectKeys' to avoid confusion.
objects.forEach((objects, pageNum) => {
examples/js/presigned-urls.js:31
- [nitpick] Add a comment explaining the purpose of the DeleteObjectCommand for consistency with the other commands.
// Presigned DELETE, allows users to delete objects.
Closes TIG-3480
The examples have also been amended to explain themselves better and have all been tested to ensure they work.