File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
ghcide/src/Development/IDE/Core Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ lookupMod HieDbWriter{indexQueue} hieFile moduleName uid _boot = MaybeT $ do
72
72
Just projectRoot -> do
73
73
-- Database writes happen asynchronously. We use an MVar to mark
74
74
-- completion of the database update.
75
- completionToken <- liftIO $ newEmptyMVar
75
+ completionToken <- liftIO newEmptyMVar
76
76
-- Write out the contents of the dependency source to the
77
77
-- .hls/dependencies directory, generate a URI for that
78
78
-- location, and update the HieDb database with the source
@@ -111,7 +111,7 @@ lookupMod HieDbWriter{indexQueue} hieFile moduleName uid _boot = MaybeT $ do
111
111
HieDb. addSrcFile db hieFile writeOutPath False
112
112
-- Mark completion of the database update.
113
113
putMVar completionToken ()
114
- pure $ moduleUri
114
+ pure moduleUri
115
115
where
116
116
-- The source will be written out in a directory from the
117
117
-- name and hash of the package the dependency module is
You can’t perform that action at this time.
0 commit comments