Using NodeFactory.FromDirectory to create a node with filter and name when the path passed as argument ended with a DirectorySeparatorChar, inserted wrong names in children nodes.
I have added the code to remove the last separator in a similar way done in the other FromDirectory overloads.
Description
Using
NodeFactory.FromDirectory
to create a node with filter and name when the path passed as argument ended with aDirectorySeparatorChar
, inserted wrong names in children nodes.I have added the code to remove the last separator in a similar way done in the other
FromDirectory
overloads.