From 004c207a6826f4e199aaf00f67a1100f6fec1315 Mon Sep 17 00:00:00 2001 From: sciencewhiz Date: Tue, 10 Oct 2023 20:30:27 -0700 Subject: [PATCH] Improve print formatting of error message --- .../wpi/first/nativeutils/sourcelink/SourceLinkPlugin.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/edu/wpi/first/nativeutils/sourcelink/SourceLinkPlugin.java b/src/main/java/edu/wpi/first/nativeutils/sourcelink/SourceLinkPlugin.java index c327110b..f66af0a1 100644 --- a/src/main/java/edu/wpi/first/nativeutils/sourcelink/SourceLinkPlugin.java +++ b/src/main/java/edu/wpi/first/nativeutils/sourcelink/SourceLinkPlugin.java @@ -36,8 +36,8 @@ public void apply(Project project) { } catch (UnknownTaskException notfound) { File gitDir = getGitDir(project.getRootProject().getRootDir()); if (gitDir == null) { - System.out.println("No .git directory was found in" + project.getRootProject().getRootDir().toString() - + "or any parent directories of that directory."); + System.out.println("No .git directory was found in " + project.getRootProject().getRootDir().toString() + + " or any parent directories of that directory."); System.out.println("SourceLink generation skipped"); } else { project.getRootProject().getTasks().register(SOURCE_LINK_ROOT_TASK_NAME, SourceLinkGenerationTask.class,