mirror of
https://github.com/balena-io/etcher.git
synced 2025-04-24 23:37:18 +00:00
minifix: add missing parameter to verifyNoNilFields example (#2081)
We add the missing `name` parameter to the `verifyNoNilFields` JSDoc example. Change-Type: patch Changelog-Entry: Add missing name param to verifyNoNilFields JSDoc example.
This commit is contained in:
parent
d233558b44
commit
4e112dc98c
@ -40,7 +40,7 @@ const packageJSON = require('../../package.json')
|
||||
*
|
||||
* @example
|
||||
* const fields = [ 'type', 'percentage' ]
|
||||
* verifyNoNilFields(action.data, fields)
|
||||
* verifyNoNilFields(action.data, fields, 'flash')
|
||||
*/
|
||||
const verifyNoNilFields = (object, fields, name) => {
|
||||
const nilFields = _.filter(fields, (field) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user