UNPKG

renovate

Version:

Automated dependency updates. Flexible so you don't need to be.

20 lines (19 loc) 721 B
import { logger } from "../../../../logger/index.js"; import { findLocalSiblingOrParent } from "../../../../util/fs/index.js"; //#region lib/modules/manager/pep621/processors/abstract.ts var BasePyProjectProcessor = class { lockfileName; async getLockfiles(_project, packageFile) { if (!this.lockfileName) { logger.trace({ packageFile }, `No lockfile name defined for ${this.constructor.name}`); return []; } const lockfilePath = await findLocalSiblingOrParent(packageFile, this.lockfileName); if (lockfilePath) return [lockfilePath]; logger.debug({ packageFile }, `No ${this.lockfileName} found`); return []; } }; //#endregion export { BasePyProjectProcessor }; //# sourceMappingURL=abstract.js.map