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

Commit

Permalink
fix(runner): merge should override entire arrays, not just parts of them
Browse files Browse the repository at this point in the history
Closes #304
  • Loading branch information
juliemr committed Dec 2, 2013
1 parent a2afb4d commit 1fa090c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ var config = {
*/
var merge = function(into, from) {
for (key in from) {
if (into[key] instanceof Object) {
if (into[key] instanceof Object && !(into[key] instanceof Array)) {
merge(into[key], from[key]);
} else {
into[key] = from[key];
Expand Down

0 comments on commit 1fa090c

Please sign in to comment.