-
Notifications
You must be signed in to change notification settings - Fork 401
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
Adding deferInitialization
docs. Fixes #1304.
#1308
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1308 +/- ##
==========================================
+ Coverage 72.76% 73.24% +0.48%
==========================================
Files 17 17
Lines 1465 1439 -26
Branches 436 431 -5
==========================================
- Hits 1066 1054 -12
+ Misses 310 300 -10
+ Partials 89 85 -4
Continue to review full report at Codecov.
|
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.
👍 Englais looks good to me. Very minor comments!
|
||
// Must call init() before start() within an async function | ||
(async () => { | ||
await app.init(); |
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.
Can you add try/catch clause to synchronously catch he error and terminate the process? https://github.com/slackapi/bolt-js/pull/1303/files#r799876413 the exist status should not be necessarily 255, though. process.exit(1)
would be fine too.
@@ -0,0 +1,30 @@ | |||
--- | |||
title: 初期化の延期 |
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.
It's already understandable! 🤣 but @wongjas and I can suggest updates once we finalize the English version
cf1bb03
to
fb7754a
Compare
Thanks for the suggestions! I've added them and updated the PR. If there are no other suggestions for the English docs, then perhaps the Japanese docs could get a pass to try to go from "understandable" to "good" 😄 ? |
Added the Japanese translation suggestions. One final check please @seratch! 🙇 |
@wongjas I might forget submitting your review - I cannot see your suggestions |
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.
@wongjas one correction (it was my fault, sorry)
65b60f6
to
f6fc378
Compare
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.
LGTM but the timing to merge this PR wold be after the v3.10 package release.
v3.10 is released! 🎉 |
I will definitely need a review on the Japanese docs since I just ran the text through Google Translate 😅
This PR fixes #1304.