From bbdc066a3bd5bb5217fd2399bf02224f803c5553 Mon Sep 17 00:00:00 2001 From: Aiden Gerbrandt Date: Mon, 13 Apr 2026 17:12:04 -0500 Subject: [PATCH] Corrected output path generation --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 86955fc..df0f6cd 100644 --- a/index.js +++ b/index.js @@ -103,7 +103,7 @@ function checkMetar() { items.push(newMetar(metars[i])); } - let outputPath = METAR_SERVICE + "/" + icao; + let outputPath = path.join(METAR_SERVICE, icao); writeFeed(generateFeed(METAR_SERVICE, icao, items, outputPath), outputPath); } });