Skip to content

Commit

Permalink
fix(idea-cli-inspector): fix for Groovy 3.0 lang compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
bentolor committed Apr 20, 2021
1 parent ee2708b commit cce94f7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
+---------+------------------------------------------------------------+
| Version | Change |
+=========+============================================================+
| 1.8 | - Bugfix for Groovy Lang 3.0 |
+---------+------------------------------------------------------------+
| 1.7 | - Support for Docker-based execution. Available on |
| | Docker Hub. |
| | |
Expand Down
6 changes: 3 additions & 3 deletions idea-cli-inspector
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import java.nio.file.Paths
This is my very first Groovy script. Please be nice.
*/
println "="
println "= IntellIJ IDEA Code Analysis Wrapper - v1.7 - @bentolor"
println "= IntellIJ IDEA Code Analysis Wrapper - v1.8 - @bentolor"
println "= "
println "Use --help or see https://github.com/bentolor/idea-cli-inspector/ for help"
println ""
Expand Down Expand Up @@ -198,8 +198,8 @@ private List<String> parseConfigFile() {
configFile.eachLine { line ->
def values = line.split(':', 2)
if (!line.startsWith('#') && values.length == 2) {
configArgs.push('--' + values[0].trim())
configArgs.push(values[1].trim())
configArgs << ('--' + values[0].trim())
configArgs << values[1].trim()
}
}
}
Expand Down

0 comments on commit cce94f7

Please sign in to comment.