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