Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

Commit 1fa090c

Browse files
committed
fix(runner): merge should override entire arrays, not just parts of them
Closes #304
1 parent a2afb4d commit 1fa090c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/runner.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ var config = {
4545
*/
4646
var merge = function(into, from) {
4747
for (key in from) {
48-
if (into[key] instanceof Object) {
48+
if (into[key] instanceof Object && !(into[key] instanceof Array)) {
4949
merge(into[key], from[key]);
5050
} else {
5151
into[key] = from[key];

0 commit comments

Comments
 (0)