From 0ea3dbd9c02586f66fca9656be9eb5d8fa2bbe83 Mon Sep 17 00:00:00 2001 From: "Robert (Jamie) Munro" Date: Thu, 6 Jun 2013 16:21:05 +0200 Subject: [PATCH] Update error message now that --dev is default Fixes #1970. --- src/Composer/Package/Locker.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Package/Locker.php b/src/Composer/Package/Locker.php index efdbb516c..41512cfcf 100644 --- a/src/Composer/Package/Locker.php +++ b/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.'); } }