Skip to content

Commit 5fac401

Browse files
committed
Delay warning about xdg till after new release
1 parent ff32fee commit 5fac401

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Action/CmdLine.hs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,9 @@ defaultDatabaseLang lang = do
9696
++ "since xdg location is available (" ++ xdgLocation ++")."
9797
pure xdgLocation
9898
(False, True) -> do
99-
hPutStrLn stderr $ "Warning: " ++ legacyLocation ++ " is deprecated."
100-
++ "Consider moving it to $XDG_DATA_HOME/hoogle (" ++ xdgLocation ++ ")"
99+
-- TODO: renable after release
100+
--hPutStrLn stderr $ "Warning: " ++ legacyLocation ++ " is deprecated."
101+
-- ++ "Consider moving it to $XDG_DATA_HOME/hoogle (" ++ xdgLocation ++ ")"
101102
pure legacyLocation
102103
pure $ dir </> "default-" ++ lower (show lang) ++ "-" ++ showVersion (trimVersion 3 version) ++ ".hoo"
103104

0 commit comments

Comments
 (0)