Skip to content

Commit

Permalink
Fix incorrect paths
Browse files Browse the repository at this point in the history
  • Loading branch information
tea-mac committed May 3, 2019
1 parent 534e56d commit f9d90ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Orangehill/Iseed/Iseed.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function generateSeed($table, $database = null, $max = 0, $updateDbSeeder
$className = $this->generateClassName($table);

// Get template for a seed file contents
$stub = $this->files->get($this->getStubPath() . '\seed.stub');
$stub = $this->files->get($this->getStubPath() . '/seed.stub');

// Get a seed folder path
$seedPath = $this->getSeedPath();
Expand Down Expand Up @@ -148,7 +148,7 @@ public function generateClassName($table)
*/
public function getStubPath()
{
return __DIR__ . '\Stubs';
return __DIR__ . '/Stubs';
}

/**
Expand Down

0 comments on commit f9d90ef

Please sign in to comment.