Skip to content

Commit 78e774d

Browse files
authored
#27 Normalize data source output & skip URL check for Himalayas website
2 parents 5849a22 + e93ee1a commit 78e774d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

data_sources.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
{
2727
"name": "Himalayas",
2828
"url": "https://himalayas.app",
29+
"skip_url_check": true,
2930
"categories": [
3031
"global"
3132
]

src/check_url_status.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def process_data_sources(data, bar)
9090
puts "✅ No broken URLs found."
9191
exit(0) # Exit with zero status to indicate no changes were made
9292
else
93-
File.write("data_sources.json", JSON.pretty_generate(updated_sources))
93+
File.write("data_sources.json", JSON.pretty_generate(updated_sources) + "\n")
9494
puts "❌ Broken URLs removed and data_sources.json updated."
9595
exit(1) # Exit with non-zero status to indicate changes were made
9696
end

0 commit comments

Comments
 (0)