diff --git a/info/news.json b/info/news.json index 27cc87b93..e7d13e5a4 100644 --- a/info/news.json +++ b/info/news.json @@ -523,6 +523,7 @@ "created": "2023-12-11T11:00:00.000Z", "date-end": "2024-01-07T23:00:00.000Z" }, + { "title": { "en": "Adapter landroid is deprecated now", @@ -768,4 +769,4 @@ "egigeozone": "installed" } } -] \ No newline at end of file +] diff --git a/info/processNews.js b/info/processNews.js index f860fc542..5f044dc6e 100644 --- a/info/processNews.js +++ b/info/processNews.js @@ -1,6 +1,6 @@ const {readFileSync, writeFileSync} = require('node:fs'); -const json = readFileSync('news.json', 'utf8'); +const json = readFileSync(`${__dirname}/news.json`, 'utf8'); let news; try { news = JSON.parse(json);