mirror of
https://github.com/dlang/phobos.git
synced 2025-04-27 13:40:20 +03:00
Remove trailing whitespace that was accidently added to std.file tempDir.
This commit is contained in:
parent
33e95aea02
commit
c9cc092cb7
1 changed files with 2 additions and 2 deletions
|
@ -5280,7 +5280,7 @@ string tempDir() @trusted
|
||||||
{
|
{
|
||||||
import std.path : dirSeparator;
|
import std.path : dirSeparator;
|
||||||
import std.algorithm.searching : endsWith;
|
import std.algorithm.searching : endsWith;
|
||||||
|
|
||||||
// It is very rare a directory path will reach this point with a directory seperator at the end
|
// 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
|
// 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))
|
if (!input.endsWith(dirSeparator))
|
||||||
|
@ -5288,7 +5288,7 @@ string tempDir() @trusted
|
||||||
else
|
else
|
||||||
return input;
|
return input;
|
||||||
}
|
}
|
||||||
|
|
||||||
static string cache;
|
static string cache;
|
||||||
if (cache is null)
|
if (cache is null)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue