lib/index.js
function check(file, frontmatter) {
      // Only process files that match the pattern
      if (!match(file, pattern)[0]) {
        return false;
      }

      // Don't process private files
      if (get(frontmatter, privateProperty)) {
        return false;
      }

      return true;
    }
function check(file, frontmatter) {
      // Only process files that match the pattern
      if (!match(file, pattern)[0]) {
        return false;
      }

      // Don't process private files
      if (get(frontmatter, privateProperty)) {
        return false;
      }

      return true;
    }
function check ( file , frontmatter ) { // Only process files that match the pattern if ( ! match ( file , pattern ) [ 0 ] ) { return false ; } // Don't process private files if ( get ( frontmatter , privateProperty ) ) { return false ; } return true ; }
Checks whether files should be processed
Checks whether files should be processed