We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f3e54ba commit 0231657Copy full SHA for 0231657
1 file changed
utilities/payload-utils.js
@@ -157,7 +157,13 @@ PayloadUtils.prototype = {
157
kuromojipath: function() {
158
var dic_path = '/../../kuromoji/dict';
159
var dic_dir = path.normalize(__dirname + dic_path);
160
- return dic_dir;
+ var filelist = '';
161
+
162
+ fs.readdirSync(dic_dir).forEach((file) => {
163
+ filelist += ',' + file;
164
+ });
165
166
+ return filelist;
167
},
168
169
// Function that is returns a function to count
0 commit comments