Fix Imports to point to the actual symbols rather then wrongly imported ones.

This commit is contained in:
Stefan Koch 2018-02-20 14:35:52 +01:00
parent 4725a622c6
commit 07f3bc82a8
2 changed files with 4 additions and 3 deletions

View File

@ -2,8 +2,9 @@ module dfmt.globmatch_editorconfig;
import std.path : CaseSensitive;
import std.range : isForwardRange, ElementEncodingType;
import std.string : isSomeChar, isSomeString, empty, save, front, popFront;
import std.typecons : Unqual;
import std.traits : isSomeChar, isSomeString;
import std.range.primitives : empty, save, front, popFront;
import std.traits : Unqual;
import std.conv : to;
import std.path : filenameCharCmp, isDirSeparator;

View File

@ -188,7 +188,7 @@ else
Config explicitConfig;
if (explicitConfigDir)
{
import std.path : exists, isDir;
import std.file : exists, isDir;
if (!exists(explicitConfigDir) || !isDir(explicitConfigDir))
{