mirror of
https://git.vectorsigma.ru/public/atlantis.git
synced 2026-08-06 23:09:07 +00:00
Add comment explaining . => / replace
This commit is contained in:
@@ -99,6 +99,7 @@ func (d *DefaultSlackClient) createAttachments(applyResult ApplyResult) []slack.
|
||||
|
||||
text := fmt.Sprintf("Apply %s for <%s|%s>", successWord, applyResult.Pull.URL, applyResult.Repo.FullName)
|
||||
directory := applyResult.Directory
|
||||
// Since "." looks weird, replace it with "/" to make it clear this is the root.
|
||||
if directory == "." {
|
||||
directory = "/"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user