Fix failing tests
JSCS is detecting improper whitespaces lib/persisted-model.js.
This commit is contained in:
parent
d4040dc39d
commit
e8179e119d
|
@ -111,13 +111,11 @@ module.exports = function(registry) {
|
|||
};
|
||||
|
||||
/**
|
||||
* Finds one record matching the optional filter object. If not found, creates the object using
|
||||
* the data provided as second argument.
|
||||
* In this sense it is the same as `find`, but limited to one object.
|
||||
* Returns an object, not collection.
|
||||
*
|
||||
* If you don't provide the filter object argument, it tries to locate an existing object that
|
||||
* matches the `data` argument.
|
||||
* Finds one record matching the optional filter object. If not found, creates
|
||||
* the object using the data provided as second argument. In this sense it is
|
||||
* the same as `find`, but limited to one object. Returns an object, not
|
||||
* collection. If you don't provide the filter object argument, it tries to
|
||||
* locate an existing object that matches the `data` argument.
|
||||
*
|
||||
* @options {Object} [filter] Optional Filter object; see below.
|
||||
* @property {String|Object|Array} fields Identify fields to include in return result.
|
||||
|
|
Loading…
Reference in New Issue