ckaznocha / SublimeLinter-contrib-CFLint

SublimeLinter plugin for Adobe ColdFusion, using CFLint.
MIT License
16 stars 9 forks source link

Windows Sublime3 cflint extraction issue #6

Closed andrew-mikos closed 9 years ago

andrew-mikos commented 9 years ago

Receiving the error

SublimeLinter: WARNING: no cflint version could be extracted from:

C:\Program Files\Sublime Text 3>java -jar C:\Users\andrew.mikos\workspace\zAssorted\CFLint-0.4-all.jar -version 

CFLint 0.4

in the console when trying to initialize the linter on a cfm or cfc file. The batch file set up is a single line and as follows:

java -jar C:\Users\andrew.mikos\workspace\zAssorted\CFLint-0.4-all.jar %*

It works fine running through command line, however it can't seem to extract the version when run via SublimeLinter. The output in the console shows carriage return characters following all 3 lines, which may be related.

ryaneberly commented 9 years ago

see https://github.com/cflint/CFLint/issues/33

it will be fixed in the next release. The submitter mentions a workaround.