{
  "version": 3,
  "sources": ["../../../../src/packages/plugin-commands-script-runners/existsInDir.ts"],
  "sourcesContent": ["import fs from 'node:fs';\nimport path from 'node:path';\n\nexport function existsInDir(\n  entityName: string,\n  dir: string\n): string | undefined {\n  const entityPath = path.join(dir, entityName);\n\n  if (fs.existsSync(entityPath)) return entityPath;\n\n  return undefined;\n}\n"],
  "mappings": "AAAA,OAAO,QAAQ;AACf,OAAO,UAAU;AAEV,SAAS,YACd,YACA,KACoB;AACpB,QAAM,aAAa,KAAK,KAAK,KAAK,UAAU;AAE5C,MAAI,GAAG,WAAW,UAAU,EAAG,QAAO;AAEtC,SAAO;AACT;",
  "names": []
}
