public String reviewFile ( String filePath ) { log . info ( "Reviewing file: " + filePath ) ; // use this format to make sure that ' ' are parsed properly String [ ] args = new String [ ] { NODE_JS , tsScript , TS_LINT_OUTPUT_KEY , TS_LINT_OUTPUT_VALUE , TS_LINT_CONFIG_PARAM , configFile , filePath } ; return new ExternalProcess ( ) . executeCommand ( args ) ; }
Executes TSLint to look for violations .