Config: Use Path.Combine() instead of GetAbsolutePath()
This commit is contained in:
@ -356,9 +356,5 @@ namespace Elwig.Helpers {
|
||||
}
|
||||
return output.OrderByDescending(l => l.Count());
|
||||
}
|
||||
|
||||
public static string GetAbsolutePath(string path, string basePath) {
|
||||
return (path.Length > 1 && (path[1] == ':' || path[0] == '/' || path[0] == '\\')) ? Path.Combine(basePath, path) : path;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user