UNPKG

hardhat

Version:

Hardhat is an extensible developer tool that helps smart contract developers increase productivity by reliably bringing together the tools they want.

12 lines (9 loc) 302 B
export function formatTaskId(taskId: string | string[]): string { if (typeof taskId === "string") { return taskId; } return taskId.join(" "); } export function getActorFragment(pluginId: string | undefined): string { return pluginId !== undefined ? `Plugin ${pluginId} is` : "You are"; }