diff options
author | Alex Yatskov <alex@foosoft.net> | 2016-09-10 19:44:54 -0700 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2016-09-10 19:44:54 -0700 |
commit | 058739988302513c8496e569cf3a4fd1eb5920b4 (patch) | |
tree | a8b1a019e818b26093d333a3f1f5c8d010ade4a5 /ext/bg/js/deinflector.js | |
parent | 47ef617eb4d951233d43c8da6e13a8bd2e40a863 (diff) |
WIP
Diffstat (limited to 'ext/bg/js/deinflector.js')
-rw-r--r-- | ext/bg/js/deinflector.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/deinflector.js b/ext/bg/js/deinflector.js index 2d567e6b..4cdc9a3d 100644 --- a/ext/bg/js/deinflector.js +++ b/ext/bg/js/deinflector.js @@ -116,7 +116,7 @@ class Deinflector { deinflect(term, validator) { const node = new Deinflection(term); return node.deinflect(validator, this.rules).then(success => { - return success ? node.gather() : null; + return success ? node.gather() : []; }); } } |