lib/get-category-path.js
function categoryPathPlain(patternObject) {
  'use strict';

  // check for subcategory
  if (patternObject.subcategory) {
    return path.join(patternObject.category, patternObject.subcategory);
  }
  else {
    return patternObject.category;
  }
}
function categoryPathPlain(patternObject) {
  'use strict';

  // check for subcategory
  if (patternObject.subcategory) {
    return path.join(patternObject.category, patternObject.subcategory);
  }
  else {
    return patternObject.category;
  }
}
function categoryPathPlain ( patternObject ) { 'use strict' ; // check for subcategory if ( patternObject . subcategory ) { return path . join ( patternObject . category , patternObject . subcategory ) ; } else { return patternObject . category ; } }
Determines the category directory structure without any conversion

@param {Object} patternObject  individual pattern's data (from /pattern-name/pattern.yml)

@return {String} categoryPath  internal path url to category
Determines the category directory structure without any conversion