Skip to content

Commit 23a56c8

Browse files
committed
Add a blank line between error message and reference link
I think this makes the error message stand out a little better and more readable.
1 parent f3db2e3 commit 23a56c8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ func populateSubmission(submissionURL string, listPath *paths.Path) (submissionT
260260

261261
// Check if URL is from a supported Git host.
262262
if !uRLIsUnder(normalizedURLObject, supportedHosts) {
263-
submission.Error = normalizedURLObject.Host + " is not currently supported as a Git hosting website for Library Manager.%0ASee: https://github.com/arduino/library-registry/blob/main/FAQ.md#what-are-the-requirements-for-a-library-to-be-added-to-library-manager"
263+
submission.Error = normalizedURLObject.Host + " is not currently supported as a Git hosting website for Library Manager.%0A%0ASee: https://github.com/arduino/library-registry/blob/main/FAQ.md#what-are-the-requirements-for-a-library-to-be-added-to-library-manager"
264264
return submission, ""
265265
}
266266

test/test_all.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@
9191
"official": False,
9292
"tag": "",
9393
"error": "example.com is not currently supported as a Git hosting website for Library Manager.%0A"
94-
"See: https://github.com/arduino/library-registry/blob/main/FAQ.md#what-are-the-requirements-for-a-"
95-
"library-to-be-added-to-library-manager",
94+
"%0ASee: https://github.com/arduino/library-registry/blob/main/FAQ.md#what-are-the-requirements-for"
95+
"-a-library-to-be-added-to-library-manager",
9696
}
9797
],
9898
"",

0 commit comments

Comments
 (0)