* Lower priority from Proxy mappings

* Fix codefactor

* extra tests

* #205

* Fix test for linux

* `c:\temp\x.json` fix

* Extra tests

* more tests

* more tests

* codefactor

* #200

* refactor

* refactor

* tests
This commit is contained in:
Stef Heyenrath
2018-09-22 08:41:24 +02:00
committed by GitHub
parent 0c25ab413d
commit f358f13c08
135 changed files with 11939 additions and 4506 deletions

View File

@@ -22,8 +22,7 @@ namespace WireMock.Transformers
}
catch (JsonException)
{
// Ignore JsonException and return
return;
// Ignore JsonException
}
});
@@ -41,8 +40,7 @@ namespace WireMock.Transformers
}
catch (JsonException)
{
// Ignore JsonException and return
return;
// Ignore JsonException
}
});
}
@@ -69,7 +67,7 @@ namespace WireMock.Transformers
throw new NotSupportedException($"The value '{arguments[0]}' with type '{arguments[0]?.GetType()}' cannot be used in Handlebars JsonPath.");
}
return (valueToProcess, arguments[1] as string);
return (valueToProcess, (string) arguments[1]);
}
}
}