code: function getOutputDir(output) {
    var arr = output.split(path.sep);
    arr.pop();
    return arr.join(path.sep);
  }
docs: get output directory from original output
  @param  {string} output
  @return {string} outputDir
  @private