Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove duplicate words #1448

Merged
merged 1 commit into from
May 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading