Use check_call to capture error from build process
Without this install.py always exits 0 and no way to tell vim-plug its installation actually failed
This commit is contained in:
parent
414f482b1c
commit
710652523f
@ -18,7 +18,7 @@ def Main():
|
|||||||
'to run:\n\tgit submodule update --init --recursive\n\n' )
|
'to run:\n\tgit submodule update --init --recursive\n\n' )
|
||||||
|
|
||||||
python_binary = sys.executable
|
python_binary = sys.executable
|
||||||
subprocess.call( [ python_binary, build_file ] + sys.argv[1:] )
|
subprocess.check_call( [ python_binary, build_file ] + sys.argv[1:] )
|
||||||
|
|
||||||
# Remove old YCM libs if present so that YCM can start.
|
# Remove old YCM libs if present so that YCM can start.
|
||||||
old_libs = (
|
old_libs = (
|
||||||
|
Loading…
Reference in New Issue
Block a user