From 568a15530cbb3b91dbf0c1c688cd5d27ccf8949b Mon Sep 17 00:00:00 2001 From: mitermayer Date: Fri, 30 Aug 2019 05:02:09 +0000 Subject: enabling-tests-to-auto-run-on-ci - Fixing linting and moving to use yarn on the tests - fixing lint that was forced to test build - use yarn over npm - use yarn cache --- autoload/prettier/logging/error.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'autoload/prettier/logging/error.vim') diff --git a/autoload/prettier/logging/error.vim b/autoload/prettier/logging/error.vim index 3539a1e..48ad048 100644 --- a/autoload/prettier/logging/error.vim +++ b/autoload/prettier/logging/error.vim @@ -7,6 +7,6 @@ let s:DEFAULT_ERROR = get(s:, 'PARSING_ERROR') function! prettier#logging#error#log(...) abort let l:error = a:0 > 0 ? a:1 : s:DEFAULT_ERROR - let l:msg = a:0 > 1 ? ': ' . :2 : '' + let l:msg = a:0 > 1 ? ': ' . a:2 : '' echohl WarningMsg | echom s:PREFIX_MSG . get(s:ERRORS, l:error, s:DEFAULT_ERROR) . l:msg | echohl NONE endfunction -- cgit v1.3