async function createIgnorer(ignorePath, withNodeModules) {
  const ignoreContent = ignorePath ? await getFileContentOrNull_1(path$2.resolve(ignorePath)) : null;
  return _createIgnorer(ignoreContent, withNodeModules);
}
@param {undefined | string} ignorePath
@param {undefined | boolean} withNodeModules