浏览代码

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

Jordi Boggiano 12 年之前
父节点
当前提交
ad9f887edd
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Composer/Repository/ComposerRepository.php

+ 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);