s/least/lest/

Co-authored-by: Vladimir Panteleev <CyberShadow@users.noreply.github.com>
This commit is contained in:
Richard Andrew Cattermole 2022-02-06 04:40:58 +13:00 committed by GitHub
parent 0cdb54d03c
commit 86c7d2ebeb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5282,7 +5282,7 @@ string tempDir() @trusted
import std.algorithm.searching : endsWith;
// It is very rare a directory path will reach this point with a directory separator 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 lest we break user code i.e. https://github.com/dlang/dub/pull/2208
if (!input.endsWith(dirSeparator))
return input ~ dirSeparator;
else