Skip to content

Commit

Permalink
Fix two typos
Browse files Browse the repository at this point in the history
fix two typos
  • Loading branch information
fr0st authored and fr0st committed Nov 19, 2018
1 parent bbcdaf8 commit dc64273
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rook/load.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ func getPackageTag(dir string) (tag string) {
} else {
vtag, errInner := versioning.GetRepoCurrentVersionedTag(repo)
if errInner != nil {
// error information only needs to be printed wth --verbose
// error information only needs to be printed with --verbose
print.Verb("failed to get version information:", errInner)
// but we can let the user know that they should version their code!
print.Info("Package does not have any tags, consider versioning your code with: `sampctl package release`")
Expand Down
2 changes: 1 addition & 1 deletion util/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
)

// CopyFile copies a file from src to dst. If src and dst files exist, and are
// the same, then return success. Otherise, attempt to create a hard link
// the same, then return success. Otherwise, attempt to create a hard link
// between the two files. If that fail, copy the file contents from src to dst.
func CopyFile(src, dst string) (err error) {
sfi, err := os.Stat(src)
Expand Down

0 comments on commit dc64273

Please sign in to comment.