mirror of
https://github.com/github/semantic.git
synced 2025-01-05 05:58:34 +03:00
Don't need _ <-
pattern
This commit is contained in:
parent
9f2820feaa
commit
8f57b5d08b
@ -85,7 +85,7 @@ parseToAST parseTimeout language Blob{..} = bracket (liftIO TS.ts_parser_new) (l
|
||||
Just (Succeeded ast) -> Just ast <$ trace ("tree-sitter: parsing succeeded " <> blobPath)
|
||||
Nothing -> do
|
||||
trace $ "tree-sitter: parsing timed out " <> blobPath
|
||||
_ <- liftIO $ TS.ts_parser_set_enabled parser (CBool 0)
|
||||
liftIO (TS.ts_parser_set_enabled parser (CBool 0))
|
||||
Nothing <$ liftIO (wait parsing)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user