From 1e4fc367bd8584cd1cb40939db89ef375c796062 Mon Sep 17 00:00:00 2001 From: indykoning <15870933+indykoning@users.noreply.github.com> Date: Fri, 27 Feb 2026 16:26:57 +0100 Subject: [PATCH] Remove vendor from namespace if it exists --- src/Fields/BlueprintRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Fields/BlueprintRepository.php b/src/Fields/BlueprintRepository.php index 2db699c46a2..f3f5022a5ff 100644 --- a/src/Fields/BlueprintRepository.php +++ b/src/Fields/BlueprintRepository.php @@ -356,7 +356,7 @@ public function getNamespaceAndHandleFromPath($path) }); if ($namespace === 'default') { - return $this->getNamespaceAndHandle(Str::after(Str::before($path, '.yaml'), $this->directory().'/')); + return $this->getNamespaceAndHandle(Str::after(Str::after(Str::before($path, '.yaml'), $this->directory().'/'), 'vendor/')); } $directory = $this->directories[$namespace];