hardhat
Version:
Hardhat is an extensible developer tool that helps smart contract developers increase productivity by reliably bringing together the tools they want.
19 lines • 516 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.parseTaskIdentifier = void 0;
function parseTaskIdentifier(taskIdentifier) {
if (typeof taskIdentifier === "string") {
return {
scope: undefined,
task: taskIdentifier,
};
}
else {
return {
scope: taskIdentifier.scope,
task: taskIdentifier.task,
};
}
}
exports.parseTaskIdentifier = parseTaskIdentifier;
//# sourceMappingURL=util.js.map
;