fix additional typo in gulp file (issue #9)

This commit is contained in:
Peter Snyder 2017-10-21 11:39:08 -04:00
parent 5a2563023a
commit a37f31836d

View file

@ -27,9 +27,9 @@ gulp.task('default', function () {
const fileContents = fs.readFileSync(standardsDefDir + "/" + next, {encoding: "utf8"});
const standardContents = JSON.parse(fileContents);
const nameParts = [standardContents.info.name, standardContents.info.subsection_name].filter(part => !!part);
const standardIdenitifer = nameParts.join(": ").trim();
standardContents.info.identifier = standardIdenitifer;
prev[standardIdenitifer] = standardContents;
const standardIdentifier = nameParts.join(": ").trim();
standardContents.info.identifier = standardIdentifier;
prev[standardIdentifier] = standardContents;
return prev;
}, {});