fix hello
This commit is contained in:
parent
c75acbf95e
commit
1732aae58b
2 changed files with 18 additions and 5 deletions
|
@ -558,7 +558,7 @@ runHello : CommandRunner
|
|||
runHello model args =
|
||||
case List.head args of
|
||||
Nothing ->
|
||||
( { model | content = model.content ++ [ text "\nHello World! My test worked!!!" ] }, Cmd.none )
|
||||
( { model | content = model.content ++ [ text "\nHello World!"] }, Cmd.none )
|
||||
|
||||
_ ->
|
||||
( { model | content = model.content ++ wrongArgs HelloCommand 0 args }, Cmd.none )
|
||||
|
|
21
src/elm.json
21
src/elm.json
|
@ -6,15 +6,28 @@
|
|||
"elm-version": "0.19.1",
|
||||
"dependencies": {
|
||||
"direct": {
|
||||
"NoRedInk/elm-json-decode-pipeline": "1.0.1",
|
||||
"bartavelle/json-helpers": "2.0.2",
|
||||
"elm/browser": "1.0.2",
|
||||
"elm/core": "1.0.5",
|
||||
"elm/html": "1.0.0"
|
||||
},
|
||||
"indirect": {
|
||||
"elm/html": "1.0.0",
|
||||
"elm/json": "1.1.3",
|
||||
"elm/time": "1.0.0",
|
||||
"elm/url": "1.0.0",
|
||||
"elm/virtual-dom": "1.0.3"
|
||||
"lobanov/elm-localstorage": "1.0.1",
|
||||
"rtfeldman/elm-css": "18.0.0",
|
||||
"rtfeldman/elm-iso8601-date-strings": "1.1.4"
|
||||
},
|
||||
"indirect": {
|
||||
"elm/bytes": "1.0.8",
|
||||
"elm/file": "1.0.5",
|
||||
"elm/http": "2.0.0",
|
||||
"elm/parser": "1.1.0",
|
||||
"elm/random": "1.0.0",
|
||||
"elm/virtual-dom": "1.0.3",
|
||||
"lobanov/elm-taskport": "2.0.1",
|
||||
"robinheghan/murmur3": "1.0.0",
|
||||
"rtfeldman/elm-hex": "1.0.0"
|
||||
}
|
||||
},
|
||||
"test-dependencies": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue