Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Commit

Permalink
Merge pull request #47 from Naoray/dev
Browse files Browse the repository at this point in the history
Version 1.3.2
  • Loading branch information
Naoray authored Oct 17, 2018
2 parents 6108716 + a70a107 commit 5a811ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Traits/CreatesPackageStubs.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ protected function getPath($name)
*/
protected function basePath()
{
return base_path().'/'.$this->resolveDirectory();
return base_path().'/'.str_finish($this->resolveDirectory(), '/');
}

/**
Expand Down Expand Up @@ -77,7 +77,7 @@ protected function replacePackageName(&$stub)
*/
protected function rootNamespace()
{
return $this->getNamespaceInput();
return $this->getNamespaceInput().'\\';
}

/**
Expand Down

0 comments on commit 5a811ae

Please sign in to comment.