Skip to content

Commit

Permalink
Remove commented code from eject command
Browse files Browse the repository at this point in the history
Co-authored-by: Nicolas Mattia <[email protected]>
  • Loading branch information
414owen and nmattia authored Jul 9, 2024
1 parent ca63e69 commit cafae3b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Niv/Cli.hs
Original file line number Diff line number Diff line change
Expand Up @@ -226,9 +226,6 @@ showParams
. URI.renderQueryText True
. fmap (second Just)

-- removePrefix :: T.Text -> T.Text -> T.Text
-- removePrefix prefix txt = fromMaybe txt $ T.stripPrefix prefix txt

removeScheme :: T.Text -> T.Text
removeScheme uri = case T.splitOn "://" uri of
[_] -> uri
Expand Down

0 comments on commit cafae3b

Please sign in to comment.