Skip to content

Commit 1b04d5a

Browse files
committed
updated changelog
1 parent 6c40a48 commit 1b04d5a

File tree

3 files changed

+5
-10
lines changed

3 files changed

+5
-10
lines changed

CHANGELOG.md

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
1-
## Polystat v0.1.6
1+
## Polystat v0.1.7
22

3-
In this release:
4-
5-
* `--files` option was renamed to `--to`. Its functionality was extended to account for more cases. See README.md for more information.
6-
7-
* a `--j2eo-version` was added, that specified which version of J2EO should be downloaded (if the download happens)
8-
9-
* Before writing to the output directory, its contents are cleaned up to avoid confusing the output from the analyzer with files from previous runs residual files.
3+
* Fixed a bug which caused the CLI to crash when analyzing an empty directory with J2EO.
4+
* Fixed generation of the aggregated SARIF output. Now it generates a single `sarifLog` object with a `run` object for each of the files it was run on. The file location can be found at `sarifLog.runs[i].artifacts[0].location.uri`.

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ libraryDependencies ++= Seq(
2323
)
2424

2525
assembly / assemblyJarName := "polystat.jar"
26-
assembly / mainClass := Some("org.polystat.Main")
26+
assembly / mainClass := (Compile / mainClass).value
2727

2828
enablePlugins(BuildInfoPlugin)
2929
buildInfoKeys := Seq(version)

src/main/scala/org/polystat/cli/Java.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ object Java:
112112
// J2EO deletes the tmp directory when there are no files to analyze
113113
// This causes the subsequent call to EO.analyze to fail, because there is no temp directory.
114114
// The line below patches this issue by creating the temp directory if it was deleted by J2EO.
115-
_ <- Files[IO]
115+
_ <- Files[IO]
116116
.exists(tmp)
117117
.ifM(
118118
ifTrue = IO.unit,

0 commit comments

Comments
 (0)