Skip to content

Commit 1ac512f

Browse files
zlavclaude
andcommitted
Strategy/Scala: make analyzeWithDepTreeJson messages task-agnostic
The context label and error text mentioned dependencyBrowseTreeHTML, but the routing change can also pick the legacy dependencyBrowseTreeHtml task. Reword to "dependency tree JSON" so the message is correct in both cases. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent c51d5d4 commit 1ac512f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Strategy/Scala.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,13 +203,13 @@ analyzeWithPoms (ScalaProject _ _ closure) = context "Analyzing sbt dependencies
203203
}
204204

205205
analyzeWithDepTreeJson :: (Has ReadFS sig m, Has Diagnostics sig m) => ScalaProject -> m DependencyResults
206-
analyzeWithDepTreeJson (ScalaProject _ treeJson closure) = context "Analyzing sbt dependencies using dependencyBrowseTreeHTML" $ do
206+
analyzeWithDepTreeJson (ScalaProject _ treeJson closure) = context "Analyzing sbt dependencies using dependency tree JSON" $ do
207207
treeJson' <-
208208
errCtx MissingFullDependencyPluginCtx $
209209
errHelp MissingFullDependencyPluginHelp $
210210
errDoc sbtDepsGraphPluginUrl $
211211
errDoc scalaFossaDocUrl $
212-
fromMaybeText "Could not retrieve output from sbt dependencyBrowseTreeHTML" treeJson
212+
fromMaybeText "Could not retrieve dependency tree JSON output from sbt" treeJson
213213
projectGraph <- TreeJson.analyze treeJson'
214214
pure $
215215
DependencyResults

0 commit comments

Comments
 (0)