Skip to content

Commit

Permalink
修改installer的代码,版本升级为v2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
opensmarty committed Jul 6, 2018
1 parent 2bc353e commit 487536f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ThinkFramework.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function install(InstalledRepositoryInterface $repo, PackageInterface $pa
*/
public function getInstallPath(PackageInterface $package)
{
if ('chinashuguo/framework' !== $package->getPrettyName()) {
if ('opensmarty/framework' !== $package->getPrettyName()) {
throw new \InvalidArgumentException('Unable to install this library!');
}

Expand Down
2 changes: 1 addition & 1 deletion src/ThinkTesting.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class ThinkTesting extends LibraryInstaller
*/
public function getInstallPath(PackageInterface $package)
{
if ('chinashuguo/testing' !== $package->getPrettyName()) {
if ('opensmarty/testing' !== $package->getPrettyName()) {
throw new \InvalidArgumentException('Unable to install this library!');
}

Expand Down

0 comments on commit 487536f

Please sign in to comment.