Skip to content

Commit

Permalink
fix: remove debuging
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Plant <[email protected]>
  • Loading branch information
sampsre committed Nov 28, 2024
1 parent c53bb3e commit 075b62a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/tfc_trigger/project_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,6 @@ func (cfg *ProjectConfig) workspaceForDir(dir string) *TFCWorkspace {

if (strings.HasSuffix(dir+"/", wsDir) || strings.HasSuffix(dir, wsDir)) {
wsDirDepth := len(strings.Split(wsDir, "/"))
fmt.Println(dir)
fmt.Println(wsDir)
fmt.Println(strings.Split(wsDir, "/"))
fmt.Println(wsDirDepth)
if wsDirDepth > longestMatchDepth {
longestMatch = ws
longestMatchDepth = wsDirDepth
Expand Down

0 comments on commit 075b62a

Please sign in to comment.