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 a3caf81 + a13cdb8 commit 2d6fa4eCopy full SHA for 2d6fa4e
src/staticlint.jl
@@ -3,7 +3,7 @@ import StaticLint: getpath, getroot, setroot, getcst, setcst, semantic_pass, get
3
hasfile(server::LanguageServerInstance, path::String) = !isempty(path) && hasdocument(server, URI2(filepath2uri(path)))
4
function canloadfile(server::LanguageServerInstance, path::String)
5
try
6
- return !isempty(path) && !safe_isfile(path)
+ return !isempty(path) && safe_isfile(path)
7
catch err
8
isa(err, Base.IOError) || isa(err, Base.SystemError) || rethrow()
9
return false
0 commit comments