2 Commits

Author SHA1 Message Date
19e0a368f7 Cleaned up a few lines 2026-04-13 20:19:49 -05:00
577a3081af Bump version 1.0.1 2026-04-13 20:19:32 -05:00
3 changed files with 6 additions and 6 deletions

View File

@@ -46,7 +46,7 @@ try {
const outputDir = configData["outputdir"];
if (!Array.isArray(configData["icaos"])) {
if (loglevel >= 4) console.warn("icao config must be an array of ICAO codes, using default");
if (loglevel >= 4) console.warn("icao config must be an array of ICAO codes, using " + defaultConfig["icaos"]);
configData["icaos"] = defaultConfig["icaos"];
}
const icaos = configData["icaos"];
@@ -99,7 +99,7 @@ function checkMetar() {
let items = [];
for (let i = 0; i < metars.length; i++) {
if (newMetar(metars[i]) != undefined)
if (metars[i] != undefined)
items.push(newMetar(metars[i]));
}
@@ -186,6 +186,6 @@ function writeFeed(rss, outputPath) {
try {
fs.writeFileSync(fullPathFile, xmlFeed);
} catch(err) {
console.error(err);
if (loglevel >= 3)console.error(err);
}
}

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "metar-rss",
"version": "1.0.0",
"version": "1.0.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "metar-rss",
"version": "0.1.0",
"version": "1.0.1",
"license": "AGPL-3.0-only",
"dependencies": {
"axios": "^1.15.0",

View File

@@ -1,6 +1,6 @@
{
"name": "metar-rss",
"version": "1.0.0",
"version": "1.0.1",
"description": "Monitors, generates and updates an RSS Feed File for Airport METARs",
"repository": {
"type": "git",