From 283c6a766453b0c2a5cf2c6b9b9d78e810d2bbc1 Mon Sep 17 00:00:00 2001 From: Gaurav Bhagchandani Date: Tue, 25 Aug 2026 15:11:43 -0700 Subject: [PATCH] Switch the CWD for plugin and backup calls --- src/Strategy/Maven.hs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Strategy/Maven.hs b/src/Strategy/Maven.hs index 0d88adc0b0..8b7e2a8b90 100644 --- a/src/Strategy/Maven.hs +++ b/src/Strategy/Maven.hs @@ -149,7 +149,7 @@ getDepsPlugin :: ) => MavenProjectClosure -> m (Graphing MavenDependency, GraphBreadth) -getDepsPlugin closure = context "Plugin analysis" (Plugin.analyze' . parent $ PomClosure.closurePath closure) +getDepsPlugin closure = context "Plugin analysis" (Plugin.analyze' $ PomClosure.closureAnalysisRoot closure) getDepsPluginLegacy :: ( CandidateCommandEffs sig m @@ -158,7 +158,7 @@ getDepsPluginLegacy :: ) => MavenProjectClosure -> m (Graphing MavenDependency, GraphBreadth) -getDepsPluginLegacy closure = context "Legacy Plugin analysis" (Plugin.analyzeLegacy' . parent $ PomClosure.closurePath closure) +getDepsPluginLegacy closure = context "Legacy Plugin analysis" (Plugin.analyzeLegacy' $ PomClosure.closureAnalysisRoot closure) getDepsTreeCmd :: ( Has (Lift IO) sig m @@ -169,8 +169,8 @@ getDepsTreeCmd :: m (Graphing MavenDependency, GraphBreadth) getDepsTreeCmd closure = context "Dynamic analysis" $ - DepTreeCmd.analyze . parent $ - PomClosure.closurePath closure + DepTreeCmd.analyze $ + PomClosure.closureAnalysisRoot closure getStaticAnalysis :: ( Has (Lift IO) sig m