lib/validator.js
function Validator(options) {
  options = options || {};

  this.cwd = options.cwd || process.cwd();
  this.debug = !!options.debug;
}
function Validator(options) {
  options = options || {};

  this.cwd = options.cwd || process.cwd();
  this.debug = !!options.debug;
}
function Validator ( options ) { options = options || { } ; this . cwd = options . cwd || process . cwd ( ) ; this . debug = ! ! options . debug ; }
Pass the current working directory as an argument

@param {Object} [options] directory to search for schema resources and includes.
Pass the current working directory as an argument