TurtleValidator.js
function showValidation(feedback) {
  feedback.errors.forEach(function (error) {
    console.log('ERROR: ' + error);
  });
  feedback.warnings.forEach(function (warning) {
    console.log('WARNING: ' + warning);
  });
  console.log("Validator finished with " + feedback.warnings.length + " warnings and " + feedback.errors.length + " errors.");
  process.exit(feedback.errors.length > 0 ? 2 : 0);
}
function showValidation(feedback) {
  feedback.errors.forEach(function (error) {
    console.log('ERROR: ' + error);
  });
  feedback.warnings.forEach(function (warning) {
    console.log('WARNING: ' + warning);
  });
  console.log("Validator finished with " + feedback.warnings.length + " warnings and " + feedback.errors.length + " errors.");
  process.exit(feedback.errors.length > 0 ? 2 : 0);
}
function showValidation ( feedback ) { feedback . errors . forEach ( function ( error ) { console . log ( 'ERROR: ' + error ) ; } ) ; feedback . warnings . forEach ( function ( warning ) { console . log ( 'WARNING: ' + warning ) ; } ) ; console . log ( "Validator finished with " + feedback . warnings . length + " warnings and " + feedback . errors . length + " errors." ) ; process . exit ( feedback . errors . length > 0 ? 2 : 0 ) ; }
Use stdio as an input stream
Use stdio as an input stream