зеркало из https://github.com/Azure/sway.git
Revert "Fix the bug in validateOption check. (#108)"
This reverts commit 394103e18c
.
This commit is contained in:
Родитель
394103e18c
Коммит
c6f15c1a49
|
@ -205,7 +205,7 @@ function shouldSkipValidate (options, errors) {
|
|||
Array.isArray(options.includeErrors) &&
|
||||
options.includeErrors.length > 0 &&
|
||||
!errors.some(function (err) {
|
||||
return !options.includeErrors.includes(err);
|
||||
return options.includeErrors.includes(err);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "yasway",
|
||||
"version": "1.10.6",
|
||||
"version": "1.10.4",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "yasway",
|
||||
"version": "1.10.6",
|
||||
"version": "1.10.5",
|
||||
"description": "A library that simplifies Swagger integrations.",
|
||||
"main": "index.js",
|
||||
"types": "index.d.ts",
|
||||
|
|
Загрузка…
Ссылка в новой задаче