Fix output of unparsing V1 of the data format

This commit is contained in:
Andrew Miner
2015-01-04 13:14:02 -08:00
parent 549abc1224
commit 761a244a83
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -151,9 +151,9 @@ module.exports.V1 = class V1
_unparseModVersion: (modVersion)->
result = []
result.push '{\n'
result.push ' "version": 1,\n'
result.push ' "mod_name": "' + modVersion.name + '",\n'
result.push ' "mod_version": "' + modVersion.version + '",\n'
result.push ' "dataVersion": 1,\n'
result.push ' "name": "' + modVersion.name + '",\n'
result.push ' "version": "' + modVersion.version + '",\n'
if modVersion.description.length > 0
result.push ' "description": "' + modVersion.description + '",\n'