Merge pull request #5 from ahakanbaba/master

Fix a E121: Undefined variable:  error
This commit is contained in:
Dave Cunningham 2016-12-16 05:23:19 -05:00 committed by GitHub
commit ff255a3ac4

View File

@ -43,8 +43,10 @@ function! jsonnet#CheckBinPath(binName)
if executable(a:binName)
if exists('*exepath')
let binPath = exepath(a:binName)
return binPath
else
return a:binName
endif
return binPath
else
echo "vim-jsonnet: could not find '" . a:binName . "'."
return ""