Commit d80082f
crypto: use
The `validateObject()` validator can be used to cleanup validation and
keep consistency.
PR-URL: #39872
Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
Reviewed-By: Khaidi Chu <i@2333.moe>
Reviewed-By: James M Snell <jasnell@gmail.com>validateObject
1 parent 59fff92 commit d80082fCopy full SHA for d80082f
File tree
Expand file treeCollapse file tree
1 file changed
+1
-2
lines changedOpen diff view settings
Filter options
- lib/internal/crypto
Expand file treeCollapse file tree
1 file changed
+1
-2
lines changedOpen diff view settings
Collapse file
lib/internal/crypto/keys.js
Copy file name to clipboardExpand all lines: lib/internal/crypto/keys.js+1-2Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
299 | 299 | |
300 | 300 | |
301 | 301 | |
302 | | - |
303 | | - |
| 302 | + |
304 | 303 | |
305 | 304 | |
306 | 305 | |
|
0 commit comments