mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-26 11:40:00 +08:00
typo
This commit is contained in:
@@ -95,7 +95,7 @@ class Installer extends LibraryInstaller
|
|||||||
}
|
}
|
||||||
$path = $fs->normalizePath($path);
|
$path = $fs->normalizePath($path);
|
||||||
if (strpos($path . '/', $vendorDir . '/') === 0) {
|
if (strpos($path . '/', $vendorDir . '/') === 0) {
|
||||||
return ["@$name" => '<vendor-dir>/' . substr($path, strlen($vendorDir))] . '/' . $name;
|
return ["@$name" => '<vendor-dir>/' . substr($path, strlen($vendorDir)) . '/' . $name];
|
||||||
} else {
|
} else {
|
||||||
return ["@$name" => $path . '/' . $name];
|
return ["@$name" => $path . '/' . $name];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user