Эх сурвалжийг харах

Clarify error message to sound less scary until we can guarantee it

Jordi Boggiano 12 жил өмнө
parent
commit
ad9f887edd

+ 1 - 1
src/Composer/Repository/ComposerRepository.php

@@ -423,7 +423,7 @@ class ComposerRepository extends ArrayRepository implements NotifiableRepository
                     }
 
                     // TODO throw SecurityException and abort once we are sure this can not happen accidentally
-                    $this->io->write('<warning>The contents of '.$filename.' do not match its signature, this may be due to a temporary glitch or a man-in-the-middle attack. Please report this.</warning>');
+                    $this->io->write('<warning>The contents of '.$filename.' do not match its signature, this is most likely due to a temporary glitch but could indicate a man-in-the-middle attack. Try running composer again and if please report it if it persists.</warning>');
                 }
                 $this->cache->write($cacheKey, $encoded);