// Check if files that affect client code were changed. Used to detect if we need to run Puppeteer or Chromatic tests.
Check if files that affect client code were changed. Used to detect if we need to run Puppeteer or Chromatic tests.
// Check if files that affect client code were changed . Used to detect if we need to run Puppeteer or Chromatic tests .
func (c ChangedFiles) affectsClient() bool {
	for _, p := range c {
		if !strings.HasSuffix(p, ".md") && (strings.HasPrefix(p, "client/") || isAllowedRootFile(p)) {
			return true
		}
	}
	return false
}
func ( c ChangedFiles ) affectsClient ( ) bool { for _ , p := range c { if ! strings . HasSuffix ( p , " " ) && ( strings . HasPrefix ( p , " " ) || isAllowedRootFile ( p ) ) { return true } } return false }
Check if files that affect client code were changed.
Check if files that affect client code were changed .