File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -136,19 +136,6 @@ function! coc#util#job_command()
136136 endif
137137
138138 let default = [' --no-warnings' ]
139- let output = system (node . ' --version' )
140- if v: shell_error
141- echohl Error | echom ' [coc.nvim] Unexpected result from "' .node.' --version"' | echohl None
142- return
143- endif
144- let ms = matchlist (output, ' v\(\d\+\).\(\d\+\).\(\d\+\)' )
145- if empty (ms)
146- echohl Error | echom ' [coc.nvim] Unable to get node version by "' .node.' --version"' | echohl None
147- return
148- endif
149- if str2nr (ms[1 ]) >= 25
150- let default += [' --localstorage-file=' . coc#util#get_data_home () . ' /localstorage' ]
151- endif
152139 return [node] + get (g: , ' coc_node_args' , default) + [s: root .' /build/index.js' ]
153140endfunction
154141
You can’t perform that action at this time.
0 commit comments