diff --git a/pkg/project/project.go b/pkg/project/project.go index 4fb3bcd1f..22d5863fc 100644 --- a/pkg/project/project.go +++ b/pkg/project/project.go @@ -340,7 +340,7 @@ func (p *Project) Provider(name string) (provider.Provider, bool) { } func (p *Project) Cleanup() error { - if !flag.SST_NO_CLEANUP { + if flag.SST_NO_CLEANUP { return nil } return os.RemoveAll(