Skip to content

Commit b40249e

Browse files
authored
Merge pull request #1950 from whosehang/master
chore: fix some typos in comment
2 parents da275eb + de60afd commit b40249e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

internal/super/output.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ func failureDeployment(err error, contractPathNames map[string]string) string {
112112
// handle cadence runtime errors
113113
var deployErr *flowkit.ProjectDeploymentError
114114
if errors.As(err, &deployErr) {
115-
out.WriteString(output.ErrorEmoji() + " Error deploying your project. Runtime error encountered which means your code is incorrect, check details bellow. \n\n")
115+
out.WriteString(output.ErrorEmoji() + " Error deploying your project. Runtime error encountered which means your code is incorrect, check details below. \n\n")
116116

117117
for name, err := range deployErr.Contracts() {
118118
out.WriteString(output.Bold(fmt.Sprintf("%s Errors:\n", name)))

internal/super/project.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ func (p *project) addContract(
287287
}
288288

289289
existing, _ := p.state.Contracts().ByName(name)
290-
if existing != nil { // make sure alises are persisted even if location changes
290+
if existing != nil { // make sure aliases are persisted even if location changes
291291
contract.Aliases = existing.Aliases
292292
}
293293

0 commit comments

Comments
 (0)