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

Fix typos in user-facing messages in logout.go and verify.go #194

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion commands/logout.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ var logoutCmd = &cobra.Command{
Run: func(cmd *cobra.Command, args []string) {
if !config.IsLoggedIn() {
logrus.Info(Colorizer.Sprintf("It seems that you are not logged in, in order to logout you need to " +
"be loged in first."))
"be logged in first."))
return
}

Expand Down
2 changes: 1 addition & 1 deletion commands/verify.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ func verifyContracts(rest *rest.Rest) error {
if numberOfContractsWithANetwork == 0 {
if DeploymentProvider.GetProviderName() == providers.OpenZeppelinDeploymentProvider {
return userError.NewUserError(
fmt.Errorf("no contracts with a netowork found in build dir: %s", providerConfig.AbsoluteBuildDirectoryPath()),
fmt.Errorf("no contracts with a network found in build dir: %s", providerConfig.AbsoluteBuildDirectoryPath()),
Colorizer.Sprintf("No migrated contracts detected in build directory: %s. This can happen when no contracts have been migrated yet.\n"+
"There is currently an issue with exporting networks for regular contracts.\n The OpenZeppelin team has come up with a workaround,"+
"so make sure you run %s before running %s\n"+
Expand Down