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

fix: check for undefined options when validating #188

Merged
merged 1 commit into from May 2, 2023

Conversation

mikejpeters
Copy link
Collaborator

Resolves #187

@mikejpeters mikejpeters requested a review from Shereef May 2, 2023 03:22
@codecov
Copy link

codecov bot commented May 2, 2023

Codecov Report

Merging #188 (084f633) into master (c8c6953) will increase coverage by 0.12%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #188      +/-   ##
==========================================
+ Coverage   85.26%   85.38%   +0.12%     
==========================================
  Files           6        6              
  Lines         346      349       +3     
==========================================
+ Hits          295      298       +3     
  Misses         51       51              
Impacted Files Coverage Δ
lib/bucket-utils.js 96.66% <100.00%> (ø)
lib/validate.js 60.75% <100.00%> (+1.54%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@Shereef
Copy link
Collaborator

Shereef commented May 2, 2023 via email

@mikejpeters
Copy link
Collaborator Author

client.bucketName has always been required, and the current behavior is to crash with an unclear error if client is missing, so this doesn't actually change the ultimate behavior, just a clear message instead of an unclear error

@Shereef Shereef merged commit 4ab6e60 into master May 2, 2023
3 checks passed
@Shereef Shereef deleted the handle-undefined-options branch May 2, 2023 13:24
@github-actions
Copy link

github-actions bot commented May 2, 2023

🎉 This PR is included in version 4.0.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TypeError: e.join is not a function on client deploy.
2 participants