mirror of
https://github.com/jfmengels/elm-review.git
synced 2024-09-11 16:16:09 +03:00
fix syntax errors
This commit is contained in:
parent
577fefca56
commit
ead07b15bb
@ -68,7 +68,7 @@ formatAlias alias_ =
|
||||
|
||||
stringify : String -> String
|
||||
stringify s =
|
||||
"\"" ++ s ++ "\""
|
||||
"\"\"\"" ++ String.replace "\"\"\"" """\\"\\"\\""" s ++ "\"\"\""
|
||||
|
||||
|
||||
listOfThings : (a -> String) -> List a -> String
|
||||
@ -890,7 +890,7 @@ elmJson =
|
||||
Elm.Project.Package
|
||||
{ elm = unsafeConstraint """ ++ stringify (Elm.Constraint.toString elmJson.elm) ++ """
|
||||
, exposed = """ ++ exposed ++ """
|
||||
, license = Elm.License.fromString """ ++ stringify (Elm.License.toString elmJson.license) ++ """" |> Maybe.withDefault Elm.License.bsd3
|
||||
, license = Elm.License.fromString """ ++ stringify (Elm.License.toString elmJson.license) ++ """ |> Maybe.withDefault Elm.License.bsd3
|
||||
, name = unsafePackageName """ ++ stringify (Elm.Package.toString elmJson.name) ++ """
|
||||
, summary = """ ++ stringify elmJson.summary ++ """
|
||||
, deps = """ ++ listOfThings formatDep elmJson.deps ++ """
|
||||
|
Loading…
Reference in New Issue
Block a user