diff --git a/frontend/src/Parse.elm b/frontend/src/Parse.elm index 7b4b6d8..c8f927b 100644 --- a/frontend/src/Parse.elm +++ b/frontend/src/Parse.elm @@ -14,8 +14,7 @@ parseUrl url = |> Maybe.andThen (\( ( ( ( ( prov, user ), repo ), separator ), gitref ), file ) -> if - List.isEmpty file - || (List.head file |> Maybe.map String.isEmpty |> Maybe.withDefault False) + (List.head file |> Maybe.map String.isEmpty |> Maybe.withDefault True) || (separator /= pathSeparator prov) then Nothing