Skip to content

Commit

Permalink
Check for github.com (#33)
Browse files Browse the repository at this point in the history
Co-authored-by: dmattia <david@transcend.io>
  • Loading branch information
dmattia and dmattia authored Jul 1, 2020
1 parent f26555c commit ea78502
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION=0.4.2
VERSION=0.4.3
PATH_BUILD=build/
FILE_COMMAND=terragrunt-atlantis-config
FILE_ARCH=darwin_amd64
Expand Down
2 changes: 1 addition & 1 deletion cmd/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ func getDependencies(path string) ([]string, error) {
if parsedConfig.Terraform != nil && parsedConfig.Terraform.Source != nil {
source := parsedConfig.Terraform.Source
// TODO: Make more robust. Check for bitbucket, etc.
if !strings.Contains(*source, "git::") && !strings.Contains(*source, "github") {
if !strings.Contains(*source, "git::") && !strings.Contains(*source, "github.com") {
dependencies = append(dependencies, filepath.Join(*source, "*.tf*"))
}
}
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import "github.com/transcend-io/terragrunt-atlantis-config/cmd"

var (
VERSION = "0.4.2"
VERSION = "0.4.3"
)

func main() {
Expand Down

0 comments on commit ea78502

Please sign in to comment.