Skip to content

Commit

Permalink
Merge pull request #1448 from goofylfg/dev
Browse files Browse the repository at this point in the history
chore: remove duplicate words
  • Loading branch information
ctrlc03 authored May 13, 2024
2 parents b6c5bd9 + f138abe commit f8e7ef5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/ts/utils/storage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const storeContractAddress = (contractName: string, address: string, netw
/**
* Read a contract address from the local address store file
* @param contractName - the name of the contract
* @returns the contract address or a undefined it it does not exist
* @returns the contract address or a undefined if it does not exist
*/
export const readContractAddress = (contractName: string, network = "default"): string => {
try {
Expand All @@ -51,7 +51,7 @@ export const readContractAddress = (contractName: string, network = "default"):
};

/**
* Delete the content of the contract address file file
* Delete the content of the contract address file
*/
export const resetContractAddresses = (): void => {
fs.writeFileSync(contractAddressesStore, JSON.stringify({}, null, 4));
Expand Down

0 comments on commit f8e7ef5

Please sign in to comment.