Skip to content

Commit

Permalink
fix java 8 incompatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
arturopala committed Apr 20, 2024
1 parent c201f1c commit a75b97e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ object MakeItG8 extends App with MakeItG8Creator with AskUser {
def maybeFindGlobalGitIgnore(): Option[File] = {
val globalGitIgnorePath =
process.Process.apply("git config --global core.excludesFile".split(" ")).lazyLines_!.mkString
if (globalGitIgnorePath.isBlank()) None
if (globalGitIgnorePath.isEmpty()) None
else {
val globalGitIgnoreFile = File(
if (globalGitIgnorePath.startsWith("~/"))
Expand Down

0 comments on commit a75b97e

Please sign in to comment.