mirror of
https://github.com/dense-analysis/ale.git
synced 2026-01-18 09:05:14 +08:00
Merge pull request #2012 from paihu/fix-cdstring-win32-change-drive
Fix #2011 MS Windows, lint error when current drive and target file drive is different.
This commit is contained in:
@@ -13,7 +13,7 @@ set VADER_OUTPUT_FILE=%~dp0\vader_output
|
||||
REM Automatically re-run Windows tests, which can fail some times.
|
||||
set tries=0
|
||||
|
||||
RUN_TESTS:
|
||||
:RUN_TESTS
|
||||
set /a tries=%tries%+1
|
||||
type nul > "%VADER_OUTPUT_FILE%"
|
||||
C:\vim\vim\vim80\vim.exe -u test/vimrc "+Vader! %tests%"
|
||||
@@ -23,7 +23,7 @@ IF %code% EQU 0 GOTO :SHOW_RESULTS
|
||||
IF %tries% GEQ 2 GOTO :SHOW_RESULTS
|
||||
GOTO :RUN_TESTS
|
||||
|
||||
SHOW_RESULTS:
|
||||
:SHOW_RESULTS
|
||||
type "%VADER_OUTPUT_FILE%"
|
||||
del "%VADER_OUTPUT_FILE%"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user