function assertDirectory(fp, options) {
  if (options && options.force === true) {
    return;
  }
  if (isCurrentDir(fp) === true) {
    throw new Error('CAUTION! to delete the current working directory "options.force" must be set to true');
  }
  if (insideCurrentDir(fp) === false) {
    throw new Error('CAUTION! to delete files or folders outside the current working directory "options.force" must be set to true');
  }
}