From eb1576c493984a8ef1efbe4481b4eae98ef6e291 Mon Sep 17 00:00:00 2001 From: Luis Gonzalez Date: Sun, 13 Oct 2024 01:57:57 -0600 Subject: [PATCH] Update OrionTypescriptCommand.php --- src/Commands/OrionTypescriptCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }