Skip to content
Snippets Groups Projects
Unverified Commit 467a21f0 authored by syuilo's avatar syuilo
Browse files

Update CONTRIBUTING.md

parent 6e284c44
No related branches found
No related tags found
No related merge requests found
......@@ -161,4 +161,9 @@ const user = await Users.findOne(userId).then(esure);
const user = await Users.findOne(userId).then(esure);
// 万が一 Users.findOne の結果が undefined だったら、ensure でエラーが発生するので
// この行に到達することは無い
// なので、.then(ensure) は
// if (user == null) {
// throw 'missing user';
// }
// の糖衣構文のような扱いです
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment