Fix a minor bug in the javac checker.
This commit is contained in:
parent
8805b83654
commit
80234a062e
@ -197,6 +197,7 @@ function! s:GetMavenClasspath()
|
|||||||
if !has_key(g:syntastic_java_javac_maven_pom_ftime, pom) || g:syntastic_java_javac_maven_pom_ftime[pom] != getftime(pom)
|
if !has_key(g:syntastic_java_javac_maven_pom_ftime, pom) || g:syntastic_java_javac_maven_pom_ftime[pom] != getftime(pom)
|
||||||
let mvn_cmd = g:syntastic_java_maven_executable . ' -f ' . pom
|
let mvn_cmd = g:syntastic_java_maven_executable . ' -f ' . pom
|
||||||
let mvn_classpath_output = split(system(mvn_cmd . ' dependency:build-classpath'), "\n")
|
let mvn_classpath_output = split(system(mvn_cmd . ' dependency:build-classpath'), "\n")
|
||||||
|
let mvn_classpath = ''
|
||||||
let class_path_next = 0
|
let class_path_next = 0
|
||||||
|
|
||||||
for line in mvn_classpath_output
|
for line in mvn_classpath_output
|
||||||
|
Loading…
Reference in New Issue
Block a user