Skip to content

Commit f4a969f

Browse files
committed
style: fix lint
1 parent 5eb4672 commit f4a969f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/model.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -700,14 +700,14 @@ Model.prototype.$__where = function _where(where) {
700700
*
701701
* await product.deleteOne();
702702
* await Product.findById(product._id); // null
703-
*
703+
*
704704
* Since `deleteOne()` returns a Query, the `deleteOne()` will **not** execute unless you use either `await`, `.then()`, `.catch()`, or [`.exec()`](https://mongoosejs.com/docs/api/query.html#Query.prototype.exec())
705705
*
706706
* #### Example:
707-
*
707+
*
708708
* product.deleteOne(); // Doesn't do anything
709709
* product.deleteOne().exec(); // Deletes the document, returns a promise
710-
*
710+
*
711711
* @return {Query} Query
712712
* @api public
713713
*/

0 commit comments

Comments
 (0)