You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 23, 2018. It is now read-only.
dropDomain :: String -> Either String String
dropDomain string =
let
http = "http://github.com/"
https = "https://github.com/"
in
if List.isPrefixOf http string then
Right (drop (length http) string)
else if List.isPrefixOf https string then
Right (drop (length https) string)
else
Left (repoProblem "The given domain does not start with <https://github.com/>")
forces the repository field in elm-package.json to start with http://github.com/ or https://github.com/. I wanted to host my code elsewhere, and got an error message, I had to enter just a random https://github.com/random.git to get elm-package install to run correctly.
Can this requirement be changed?
I am using ELM 0.18.0 on Mac OS 10.12.3.
To reproduce the error, create a elm-package.json and change the repository field to something that does not start with http://github.com/ or https://github.com/.
The text was updated successfully, but these errors were encountered:
In
Description.hs
the following codeforces the
repository
field inelm-package.json
to start withhttp://github.com/
orhttps://github.com/
. I wanted to host my code elsewhere, and got an error message, I had to enter just a randomhttps://github.com/random.git
to getelm-package install
to run correctly.Can this requirement be changed?
I am using ELM
0.18.0
on Mac OS 10.12.3.To reproduce the error, create a
elm-package.json
and change therepository
field to something that does not start withhttp://github.com/
orhttps://github.com/
.The text was updated successfully, but these errors were encountered: