浏览代码

Merge pull request #1974 from rjmunro/patch-1

Update error message now that --dev is default
Jordi Boggiano 11 年之前
父节点
当前提交
1b0635af1d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Composer/Package/Locker.php

+ 1 - 1
src/Composer/Package/Locker.php

@@ -100,7 +100,7 @@ class Locker
             if (isset($lockData['packages-dev'])) {
                 $lockedPackages = array_merge($lockedPackages, $lockData['packages-dev']);
             } else {
-                throw new \RuntimeException('The lock file does not contain require-dev information, run install without --dev or run update to install those packages.');
+                throw new \RuntimeException('The lock file does not contain require-dev information, run install with the --no-dev option or run update to install those packages.');
             }
         }