We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 98b279b + 73a99ad commit 2dfd1c5Copy full SHA for 2dfd1c5
lsp-test/src/Language/LSP/Test.hs
@@ -398,7 +398,7 @@ createDoc file languageId contents = do
398
watchHits :: FileSystemWatcher -> Bool
399
watchHits (FileSystemWatcher pattern kind) =
400
-- If WatchKind is exlcuded, defaults to all true as per spec
401
- fileMatches pattern && createHits (fromMaybe (WatchKind True True True) kind)
+ fileMatches (T.unpack pattern) && createHits (fromMaybe (WatchKind True True True) kind)
402
403
fileMatches pattern = Glob.match (Glob.compile pattern) relOrAbs
404
-- If the pattern is absolute then match against the absolute fp
0 commit comments