fix config merging

This commit is contained in:
akirilyuk committed 2022-02-04 08:57:32 +01:00
1 parent df302320ca
commit e2753ca8a3
1 file changed
+2 -2
+2 -2
View File
@@ -23,8 +23,8 @@ class SpeechConfig extends Emitter {
this.sessionConfig,
changedConfig,
(objValue, sourceValue) => {
if (isArray(objValue)) {
if (isArray(sourceValue)) {
if (Array.isArray(objValue)) {
if (Array.isArray(sourceValue)) {
return sourceValue;
}
return objValue;