OCLint生成报告报错oclint: error: canno
2019-09-30 本文已影响0人
Pandakingli
OCLint生成报告报错oclint: error: cannot open report output file
oclint: error: cannot open report output file xxxpath
解决方案:
使用 ">> oclint_result.html" 代替 '-o oclint_result.html'
比如:
oclint-json-compilation-database -e Pods -e React
-- -report-type html
-rc LONG_LINE=200
-rc LONG_VARIABLE_NAME=30
-disable-rule ShortVariableName
-max-priority-1=100000
-max-priority-2=100000
-max-priority-3=100000 >> oclint_result.html