Skip to content

Commit

Permalink
Remove sicc.tf files (#91)
Browse files Browse the repository at this point in the history
* fix

* make it debug
  • Loading branch information
Eduardo authored Jul 25, 2018
1 parent 1cdd563 commit 07c8d05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apply/apply.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ func applyTree(source *packr.Box, dest afero.Fs, targetBasePath string, siccMode
}
}

if !siccMode && target == "fogg.tf" {
if !siccMode && strings.HasSuffix(target, "fogg.tf") {
r := filepath.Join(targetBasePath, "sicc.tf")
log.Infof("%s removed", r)
e = dest.Remove(r)
Expand Down

0 comments on commit 07c8d05

Please sign in to comment.