metar-taf-parser 3.0.0 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/parser/parser.js +3 -3
- package/package.json +1 -1
package/dist/parser/parser.js
CHANGED
|
@@ -311,9 +311,9 @@ class TAFParser extends AbstractParser {
|
|
|
311
311
|
parse(input) {
|
|
312
312
|
let amendment;
|
|
313
313
|
const lines = this.extractLinesTokens(input);
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
314
|
+
let index = 0;
|
|
315
|
+
if (lines[0][0] === this.TAF)
|
|
316
|
+
index = 1;
|
|
317
317
|
if (lines[0][1] === this.TAF)
|
|
318
318
|
index = 2;
|
|
319
319
|
if (lines[0][index] === "AMD") {
|