From f35081cb0ff51939347649286a5947386c1a4ea8 Mon Sep 17 00:00:00 2001 From: Mike Han <56001373+mhan83@users.noreply.github.com> Date: Thu, 18 Jul 2024 10:05:05 -0600 Subject: [PATCH] add warning about cypress.reporters (#928) --- internal/cypress/v1/config.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/internal/cypress/v1/config.go b/internal/cypress/v1/config.go index 6fdcda7cb..a61498f6e 100644 --- a/internal/cypress/v1/config.go +++ b/internal/cypress/v1/config.go @@ -223,6 +223,10 @@ func (p *Project) Validate() error { return fmt.Errorf(msg.InvalidLaunchingOption, p.Sauce.LaunchOrder, string(config.LaunchOrderFailRate)) } + if len(p.Cypress.Reporters) > 0 { + log.Warn().Msg("cypress.reporters has been deprecated. Migrate your reporting configuration to your cypress config file.") + } + // Validate suites. if len(p.Suites) == 0 { return errors.New(msg.EmptySuite)