Skip to content

Commit

Permalink
Fix the jline autofix only for non-exist issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
wezhang committed Nov 21, 2018
1 parent 1722d66 commit 8c7bcc9
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,9 @@ class SparkScalaLocalConsoleRunConfiguration(
// - https://github.com/Microsoft/azure-tools-for-java/issues/2285
// - https://issues.apache.org/jira/browse/SPARK-13710
val jlineLibraryCoord = "jline:jline:2.12.1"
promptAndFix(jlineLibraryCoord)
if (getLibraryByCoord(jlineLibraryCoord) == null) {
promptAndFix(jlineLibraryCoord)
}
params.classPath.addAll(getDependencyClassPaths(jlineLibraryCoord))

params.classPath.addAll(localRunParams.classPath.pathList)
Expand Down

0 comments on commit 8c7bcc9

Please sign in to comment.