From c9cc092cb76ff877780d7f6f1c714c6feff33437 Mon Sep 17 00:00:00 2001 From: rikki cattermole Date: Sun, 6 Feb 2022 04:30:51 +1300 Subject: [PATCH] Remove trailing whitespace that was accidently added to std.file tempDir. --- std/file.d | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/std/file.d b/std/file.d index d61cbcf10..d7747be49 100644 --- a/std/file.d +++ b/std/file.d @@ -5280,7 +5280,7 @@ string tempDir() @trusted { import std.path : dirSeparator; import std.algorithm.searching : endsWith; - + // It is very rare a directory path will reach this point with a directory seperator at the end // However on OSX this can happen, so we must verify least we break user code i.e. https://github.com/dlang/dub/pull/2208 if (!input.endsWith(dirSeparator)) @@ -5288,7 +5288,7 @@ string tempDir() @trusted else return input; } - + static string cache; if (cache is null) {