mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-10 02:47:50 +00:00
Use _.cloneDeep in build/util.js.
Former-commit-id: 06094c21fe084192933665982edc9a4212016406
This commit is contained in:
@@ -74,7 +74,7 @@
|
|||||||
* @memberOf util
|
* @memberOf util
|
||||||
* @type Object
|
* @type Object
|
||||||
*/
|
*/
|
||||||
'fs': _.defaults({}, fs, {
|
'fs': _.defaults(_.cloneDeep(fs), {
|
||||||
'existsSync': fs.existsSync || path.existsSync,
|
'existsSync': fs.existsSync || path.existsSync,
|
||||||
'mkdirpSync': mkdirpSync
|
'mkdirpSync': mkdirpSync
|
||||||
}),
|
}),
|
||||||
@@ -85,7 +85,7 @@
|
|||||||
* @memberOf util
|
* @memberOf util
|
||||||
* @type Object
|
* @type Object
|
||||||
*/
|
*/
|
||||||
'path': _.defaults({}, path, {
|
'path': _.defaults(_.cloneDeep(path), {
|
||||||
'sep': sep,
|
'sep': sep,
|
||||||
'sepEscaped': sepEscaped
|
'sepEscaped': sepEscaped
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user