Skip to content

Commit

Permalink
chore: remove duplicate words
Browse files Browse the repository at this point in the history
  • Loading branch information
goofylfg authored May 9, 2024
1 parent 4d744aa commit 98ca0ff
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 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 98ca0ff

Please sign in to comment.