mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-11-28 06:05:31 +03:00
Prefix path in error message with /
Previously the root path was displayed as the empty string, which is confusing.
This commit is contained in:
parent
7d6d3bc672
commit
2746639b35
@ -133,7 +133,7 @@ createBuildError path decodeError =
|
||||
{ title = "Metadata Decode Error"
|
||||
, message =
|
||||
[ Terminal.text "I ran into a problem when parsing the metadata for the page with this path: "
|
||||
, Terminal.text (String.join "/" path)
|
||||
, Terminal.text ("/" ++ String.join "/" path)
|
||||
, Terminal.text "\n\n"
|
||||
, Terminal.text decodeError
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user