aboutsummaryrefslogtreecommitdiff
path: root/runtime/autoload/provider/node.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/autoload/provider/node.vim')
-rw-r--r--runtime/autoload/provider/node.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/autoload/provider/node.vim b/runtime/autoload/provider/node.vim
index 3dde18022e..493eecf433 100644
--- a/runtime/autoload/provider/node.vim
+++ b/runtime/autoload/provider/node.vim
@@ -81,7 +81,7 @@ function! provider#node#Require(host) abort
catch
echomsg v:throwpoint
echomsg v:exception
- for row in job.stderr
+ for row in get(job, 'stderr', [])
echomsg row
endfor
endtry