File tree Expand file tree Collapse file tree 3 files changed +15
-6
lines changed
Expand file tree Collapse file tree 3 files changed +15
-6
lines changed Original file line number Diff line number Diff line change @@ -90,9 +90,10 @@ object HoconConfig:
9090 val includeRules = " includeRules"
9191 val excludeRules = " excludeRules"
9292 val j2eo = " j2eo"
93- val outputsConsole = " outputs.console"
94- val outputsDirs = " outputs.dirs"
95- val outputsFiles = " output.files"
93+ val outputs = " outputs"
94+ val outputsConsole = s " $outputs.console "
95+ val outputsDirs = s " $outputs.dirs "
96+ val outputsFiles = s " $outputs.files "
9697 val explanation = s """
9798 | $toplevel. $inputLanguage
9899 | The type of input files which will be analyzed. This key must be present.
Original file line number Diff line number Diff line change @@ -24,7 +24,11 @@ class HoconConfigTests extends munit.FunSuite:
2424 cfg = """ |polystat {
2525 | lang = eo
2626 | input = sandbox
27- | outputTo = tmp
27+ | outputs = {
28+ | dirs = [tmp]
29+ | console = true
30+ | files = [/tmp/src/eo, /src/eo]
31+ | }
2832 | outputFormats = [sarif]
2933 |}
3034 """ .stripMargin,
@@ -36,7 +40,11 @@ class HoconConfigTests extends munit.FunSuite:
3640 input = Input .FromDirectory (Path (" sandbox" )),
3741 tmp = None ,
3842 outputFormats = List (OutputFormat .Sarif ),
39- output = Output .ToDirectory (Path (" tmp" )),
43+ output = Output (
44+ console = true ,
45+ files = List (Path (" /tmp/src/eo" ), Path (" /src/eo" )),
46+ dirs = List (Path (" tmp" )),
47+ ),
4048 ),
4149 )
4250 ),
Original file line number Diff line number Diff line change 1- ThisBuild / version := " 0.1.5 -SNAPSHOT"
1+ ThisBuild / version := " 0.1.6 -SNAPSHOT"
You can’t perform that action at this time.
0 commit comments