From bbbbf25b98d73cec9e69b18227adad7792b11599 Mon Sep 17 00:00:00 2001 From: Jaroslav Tulach Date: Sat, 6 Jul 2024 08:08:15 +0200 Subject: [PATCH] Using longer local variable name --- project/NativeImage.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/project/NativeImage.scala b/project/NativeImage.scala index b45780e2485b..e19fad98d93b 100644 --- a/project/NativeImage.scala +++ b/project/NativeImage.scala @@ -242,8 +242,8 @@ object NativeImage { Seq("-jar", pathToJAR.toString) } - val td = (Compile / target).value - val argFile = td.toPath.resolve(NATIVE_IMAGE_ARG_FILE) + val targetDirValue = (Compile / target).value + val argFile = targetDirValue.toPath.resolve(NATIVE_IMAGE_ARG_FILE) IO.writeLines(argFile.toFile, args, append = false) val pathParts = pathExts ++ Option(System.getenv("PATH")).toSeq