mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-11 11:27:50 +00:00
Remove !source check from _.mixin.
This commit is contained in:
@@ -8789,7 +8789,7 @@
|
|||||||
props = noOpts && isObj && keys(source),
|
props = noOpts && isObj && keys(source),
|
||||||
methodNames = props && baseFunctions(source, props);
|
methodNames = props && baseFunctions(source, props);
|
||||||
|
|
||||||
if (!source || (props && props.length && !methodNames.length) || (noOpts && !isObj)) {
|
if ((props && props.length && !methodNames.length) || (noOpts && !isObj)) {
|
||||||
if (noOpts) {
|
if (noOpts) {
|
||||||
options = source;
|
options = source;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user