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

Commit 985ff27

Browse files
thetoothpickjuliemr
authored andcommitted
fix(configParser): load new functions from configs
Closes #1043
1 parent 26366e5 commit 985ff27

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/configParser.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,9 @@ var ConfigParser = function() {
5656
*/
5757
var merge_ = function(into, from) {
5858
for (var key in from) {
59-
if (into[key] instanceof Object && !(into[key] instanceof Array)) {
59+
if (into[key] instanceof Object &&
60+
!(into[key] instanceof Array) &&
61+
!(into[key] instanceof Function)) {
6062
merge_(into[key], from[key]);
6163
} else {
6264
into[key] = from[key];

0 commit comments

Comments
 (0)