diff --git a/brownie/config.go b/brownie/config.go index f6d1e04..867f251 100644 --- a/brownie/config.go +++ b/brownie/config.go @@ -44,7 +44,7 @@ func validateConfigPresence(configPath string) error { // Verify that the config is present if _, err := os.Stat(configPath); err != nil { return fmt.Errorf( - "unable to locate configuaration at path: %s, error: %w", + "unable to locate configuration at path: %s, error: %w", configPath, err, ) diff --git a/commands/contract/push.go b/commands/contract/push.go index b20c5b4..b21626c 100644 --- a/commands/contract/push.go +++ b/commands/contract/push.go @@ -115,7 +115,7 @@ func uploadContracts(rest *rest.Rest) error { if numberOfContractsWithANetwork == 0 { if commands.DeploymentProvider.GetProviderName() == providers.OpenZeppelinDeploymentProvider { pushErrors[projectSlug] = userError.NewUserError( - fmt.Errorf("no contracts with a netowrk found in build dir: %s", providerConfig.AbsoluteBuildDirectoryPath()), + fmt.Errorf("no contracts with a network found in build dir: %s", providerConfig.AbsoluteBuildDirectoryPath()), commands.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.\nThe OpenZeppelin team has come up with a workaround,"+ "so make sure you run %s before running %s\n"+ @@ -129,7 +129,7 @@ func uploadContracts(rest *rest.Rest) error { continue } pushErrors[projectSlug] = userError.NewUserError( - fmt.Errorf("no contracts with a netowrk found in build dir: %s", providerConfig.AbsoluteBuildDirectoryPath()), + fmt.Errorf("no contracts with a network found in build dir: %s", providerConfig.AbsoluteBuildDirectoryPath()), commands.Colorizer.Sprintf("No migrated contracts detected in build directory: %s. This can happen when no contracts have been migrated yet.", commands.Colorizer.Bold(commands.Colorizer.Red(providerConfig.AbsoluteBuildDirectoryPath())), ), diff --git a/commands/push.go b/commands/push.go index ca5439f..4d845ec 100644 --- a/commands/push.go +++ b/commands/push.go @@ -125,7 +125,7 @@ func uploadContracts(rest *rest.Rest) error { if numberOfContractsWithANetwork == 0 { if DeploymentProvider.GetProviderName() == providers.OpenZeppelinDeploymentProvider { pushErrors[projectSlug] = userError.NewUserError( - fmt.Errorf("no contracts with a netowrk 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.\nThe OpenZeppelin team has come up with a workaround,"+ "so make sure you run %s before running %s\n"+ @@ -139,7 +139,7 @@ func uploadContracts(rest *rest.Rest) error { continue } pushErrors[projectSlug] = userError.NewUserError( - fmt.Errorf("no contracts with a netowrk 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.", Colorizer.Bold(Colorizer.Red(providerConfig.AbsoluteBuildDirectoryPath())), ), diff --git a/rest/call/project.go b/rest/call/project.go index 2fdaf95..220fb8e 100755 --- a/rest/call/project.go +++ b/rest/call/project.go @@ -34,7 +34,7 @@ func (rest *ProjectCalls) CreateProject(request payloads.ProjectRequest) (*paylo err = json.NewDecoder(response).Decode(&projectResponse) if err != nil { - return nil, fmt.Errorf("failed parsing create project respose: %s", err) + return nil, fmt.Errorf("failed parsing create project response: %s", err) } return &projectResponse, nil @@ -68,7 +68,7 @@ func (rest *ProjectCalls) GetProjects(accountId string) (*payloads.GetProjectsRe err = json.Unmarshal(data, &getProjectsResponse) if err != nil { - return nil, fmt.Errorf("failed parsing get projects respose: %s", err) + return nil, fmt.Errorf("failed parsing get projects response: %s", err) } for _, project := range getProjectsResponse.Projects {