Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ngrash committed Apr 5, 2021
1 parent bad3c40 commit a9e8cb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/ftl/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func main() {
mustSucceed(exec.Command("ssh", dest, fmt.Sprintf("mkdir -p %s", remotePlanPath)))

if fi.Mode().IsDir() {
// rsync needs the training slash to copy dir content and not dir itself
// rsync needs the trailing slash to copy dir content and not dir itself
if planPath[len(planPath)-1] != '/' {
planPath += "/"
}
Expand Down

0 comments on commit a9e8cb8

Please sign in to comment.