Recompile of JSON to JS messages.

Delete unused Klingon message.
Remove '.' from message that confusingly appears after a filename.
This commit is contained in:
Neil Fraser
2021-07-28 14:50:31 -07:00
committed by Neil Fraser
parent 0e4f11404c
commit 52d280e615
6 changed files with 40 additions and 41 deletions

View File

@@ -448,7 +448,7 @@ function buildLangfiles(done) {
// Create output directory.
const outputDir = path.join(BUILD_DIR, 'msg', 'js');
fs.mkdirSync(outputDir, {recursive: true});
// Run create_messages.py.
let json_files = fs.readdirSync(path.join('msg', 'json'));
json_files = json_files.filter(file => file.endsWith('json') &&