mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-12-01 15:55:35 +03:00
Formatting.
This commit is contained in:
parent
075e1e641a
commit
c903bfff68
@ -56,9 +56,7 @@ const restoreColor = (error) => {
|
||||
*
|
||||
* This function takes in the array of compiler errors and maps over them to generate a formatted compiler error
|
||||
**/
|
||||
const restoreProblem =
|
||||
(path) =>
|
||||
({ title, message }) =>
|
||||
[parseHeader(title, path), ...message.map(parseMsg)].join("");
|
||||
const restoreProblem = (path) => ({ title, message }) =>
|
||||
[parseHeader(title, path), ...message.map(parseMsg)].join("");
|
||||
|
||||
module.exports = { restoreColor };
|
||||
|
Loading…
Reference in New Issue
Block a user