Skip to content

Commit

Permalink
feat: rename task function to funcBlocksInAWeek
Browse files Browse the repository at this point in the history
As proposed during pull request review.
  • Loading branch information
gitcoindev committed Feb 2, 2024
1 parent 56207cb commit 04907d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/contracts/scripts/task/dollar/blocks-in-week.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const optionDefinitions: OptionDefinition[] = [
{ name: "network", alias: "n", type: String },
];

const func = async (params: TaskFuncParam) => {
const funcBlocksInAWeek = async (params: TaskFuncParam) => {
const { args, env } = params;
const { network } = args;

Expand Down Expand Up @@ -48,4 +48,4 @@ const func = async (params: TaskFuncParam) => {

return "succeeded";
};
export default func;
export default funcBlocksInAWeek;

0 comments on commit 04907d7

Please sign in to comment.