0
0
mirror of https://github.com/vim/vim.git synced 2025-07-04 23:07:33 -04:00

runtime(dist): do not output a message if executable is not found

closes: #15705

Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Christian Brabandt 2024-09-20 22:26:56 +02:00
parent fdcb08264d
commit e6b01cfe01
No known key found for this signature in database
GPG Key ID: F3F92DA383FDDE09
2 changed files with 0 additions and 2 deletions

View File

@ -19,7 +19,6 @@ if !has('vim9script')
function dist#vim#IsSafeExecutable(filetype, executable)
let cwd = getcwd()
if empty(exepath(a:executable))
echomsg a:executable .. " not found in $PATH"
return v:false
endif
return get(g:, a:filetype .. '_exec', get(g:, 'plugin_exec', 0)) &&

View File

@ -7,7 +7,6 @@ vim9script
export def IsSafeExecutable(filetype: string, executable: string): bool
if empty(exepath(executable))
echomsg executable .. " not found in $PATH"
return v:false
endif
var cwd = getcwd()