Skip to content

Commit

Permalink
Set asciiGraphWidth to 400 for all subprojects in case of a multiproj…
Browse files Browse the repository at this point in the history
…ect sbt

Signed-off-by: Jacek Puchta <jacek.puchta@dotdata.com>
  • Loading branch information
puchta committed Oct 20, 2023
1 parent 439f871 commit 4f7c4ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1757,11 +1757,11 @@ export const createJavaBom = async (path, options) => {
// write to the existing plugins file
if (useSlashSyntax) {
sbtArgs = [
`'set asciiGraphWidth := 400' "dependencyTree / toFile ${dlFile} --force"`
`'set ThisBuild / asciiGraphWidth := 400' "dependencyTree / toFile ${dlFile} --force"`
];
} else {
sbtArgs = [
`'set asciiGraphWidth := 400' "dependencyTree::toFile ${dlFile} --force"`
`'set asciiGraphWidth in ThisBuild := 400' "dependencyTree::toFile ${dlFile} --force"`
];
}
pluginFile = addPlugin(basePath, sbtPluginDefinition);
Expand Down

0 comments on commit 4f7c4ae

Please sign in to comment.