We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ca8d75 commit b06e014Copy full SHA for b06e014
netmockery/JSONReader.cs
@@ -267,8 +267,10 @@ public class JSONEndpoint
267
268
public Endpoint CreateEndpoint(string rootDir, JSONDefaults globalDefaults)
269
{
270
- var endpoint = new Endpoint(name, pathregex);
271
- endpoint.Directory = rootDir;
+ var endpoint = new Endpoint(name, pathregex)
+ {
272
+ Directory = rootDir
273
+ };
274
275
var endpointDefaultsFile = Path.Combine(rootDir, "defaults.json");
276
var endpointDefaults =
0 commit comments