Skip to content

Commit

Permalink
Fix code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
brikis98 committed Jul 8, 2018
1 parent 2ae4750 commit f1b3519
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/download_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ func splitSourceUrl(sourceUrl *url.URL, terragruntOptions *options.TerragruntOpt

parts := strings.SplitAfter(sourceUrlModifiedPath.Path, string(filepath.Separator))

everythingBeforeFinalSlash := parts[0:len(parts)-1]
everythingBeforeFinalSlash := parts[0 : len(parts)-1]
everythingAfterFinalSlash := parts[len(parts)-1]

sourceUrlModifiedPath.Path = strings.Join(everythingBeforeFinalSlash, "")
Expand Down

0 comments on commit f1b3519

Please sign in to comment.