hardhat
Version:
Hardhat is an extensible developer tool that helps smart contract developers increase productivity by reliably bringing together the tools they want.
9 lines • 326 B
JavaScript
import { remove } from "@nomicfoundation/hardhat-utils/fs";
import { getCoveragePath } from "../helpers.js";
export default async () => ({
onClean: async (context) => {
const coveragePath = getCoveragePath(context.config.paths.root);
await remove(coveragePath);
},
});
//# sourceMappingURL=clean.js.map