Skip to content

Commit

Permalink
Update OrionTypescriptCommand.php
Browse files Browse the repository at this point in the history
  • Loading branch information
gogl92 authored Oct 13, 2024
1 parent df0a260 commit eb1576c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Commands/OrionTypescriptCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ protected function generateOrionModel(string $controller, string $table)

$content .= "}>\n{\n \n}";

$outputPath = base_path($this->config->get('gii.output_path', "resources/js/models/$modelName.ts"));
$outputPath = base_path($this->config->get('gii.output_path') . "$modelName.ts");
file_put_contents($outputPath, $content);
}
}

0 comments on commit eb1576c

Please sign in to comment.