Write correct glossary to disk

This commit is contained in:
Samy Pessé
2014-08-19 10:36:27 -07:00
parent ec8dc2cdb0
commit d0a14dcbcc
+1 -1
View File
@@ -258,7 +258,7 @@ Generator.prototype.writeGlossaryIndex = function() {
return fs.writeFile(
path.join(this.options.output, 'glossary_index.json'),
this.glossaryIndexer.dump()
JSON.stringify(this.options.glossary)
);
};