"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const path = require("path");
const exists = require("path-exists");
exports.default = async (entityName, dir) => {
    const entityPath = path.join(dir, entityName);
    if (await exists(entityPath))
        return entityPath;
    return undefined;
};
//# sourceMappingURL=existsInDir.js.map