diff --git a/server/events/project_finder.go b/server/events/project_finder.go index 2e0f8a20..8b5982d0 100644 --- a/server/events/project_finder.go +++ b/server/events/project_finder.go @@ -34,7 +34,7 @@ func (p *ProjectFinder) FindModified(log *logging.SimpleLogger, modifiedFiles [] len(modifiedTerraformFiles), modifiedTerraformFiles) var paths []string - for _, modifiedFile := range modifiedFiles { + for _, modifiedFile := range modifiedTerraformFiles { paths = append(paths, p.getProjectPath(modifiedFile)) } uniquePaths := p.unique(paths)