From f494dc40d2f2d71a520f95c6124f04e436d30877 Mon Sep 17 00:00:00 2001 From: Alex Jank Date: Thu, 22 Aug 2024 11:05:56 +0200 Subject: [PATCH] fix(watch-admin): run framework:schema in current env --- cmd/project/project_admin_watch.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/project/project_admin_watch.go b/cmd/project/project_admin_watch.go index c8d5d1a..edf0350 100644 --- a/cmd/project/project_admin_watch.go +++ b/cmd/project/project_admin_watch.go @@ -61,7 +61,7 @@ var projectAdminWatchCmd = &cobra.Command{ } } - if err := runTransparentCommand(commandWithRoot(phpexec.ConsoleCommand(cmd.Context(), "-eprod", "framework:schema", "-s", "entity-schema", path.Join(mockDirectory, "entity-schema.json")), projectRoot)); err != nil { + if err := runTransparentCommand(commandWithRoot(phpexec.ConsoleCommand(cmd.Context(), "framework:schema", "-s", "entity-schema", path.Join(mockDirectory, "entity-schema.json")), projectRoot)); err != nil { return err }