diff --git a/src/Commands/OrionTypescriptCommand.php b/src/Commands/OrionTypescriptCommand.php index 85b8999..bb9fb58 100644 --- a/src/Commands/OrionTypescriptCommand.php +++ b/src/Commands/OrionTypescriptCommand.php @@ -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); } }