Jelajahi Sumber

Merge pull request #1974 from rjmunro/patch-1

Update error message now that --dev is default
Jordi Boggiano 11 tahun lalu
induk
melakukan
1b0635af1d
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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.');
             }
         }