Skip to content

Commit

Permalink
added description to ETOPS/EEP/EXP
Browse files Browse the repository at this point in the history
  • Loading branch information
flyingeek committed Jun 8, 2020
1 parent 4cc76b1 commit 531c28d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@flyingeek/lidojs",
"version": "1.2.2",
"version": "1.2.3",
"description": "convert Lido OFP text files",
"publishConfig": {
"registry": "https://npm.pkg.github.com/"
Expand Down
6 changes: 3 additions & 3 deletions src/modules/ofp_infos.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,9 @@ function ofpInfos(text) {
"EXP": null
}
try {
infos['raltPoints'] = ralts.map(v => new GeoPoint(AIRPORTS[v], {'name': v}));
if (eep) infos['EEP'] = new GeoPoint(AIRPORTS[eep], {'name': eep});
if (exp) infos['EXP'] = new GeoPoint(AIRPORTS[exp], {'name': exp});
infos['raltPoints'] = ralts.map(v => new GeoPoint(AIRPORTS[v], {'name': v, 'description': 'ETOPS'}));
if (eep) infos['EEP'] = new GeoPoint(AIRPORTS[eep], {'name': eep, 'description': 'EEP'});
if (exp) infos['EXP'] = new GeoPoint(AIRPORTS[exp], {'name': exp, 'description': 'EXP'});
} catch (err) {
console.log(err);
}
Expand Down

0 comments on commit 531c28d

Please sign in to comment.