mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2026-10-22 11:24:20 +00:00
more cleanup
This commit is contained in:
1 parent
843ae6c440
commit
60a09a48c1
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -49,7 +49,7 @@ class TaskConfig extends Task {
|
||||
/* reset recognizer and/or synthesizer to default values? */
|
||||
if (this.data.reset) {
|
||||
if (typeof this.data.reset === 'string') this.data.reset = [this.data.reset];
|
||||
phrase.push(`reset ${this.data.reset.join(',')}`);
|
||||
if (this.data.reset.length) phrase.push(`reset ${this.data.reset.join(',')}`);
|
||||
}
|
||||
else this.data.reset = [];
|
||||
|
||||
|
||||
Reference in new issue
Block a user