chore: fix lint issue

This commit is contained in:
Roman Hotsiy 2019-01-17 17:32:47 +02:00
parent fb3cb3627b
commit 8c9e3bdbe4
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0

View File

@ -67,7 +67,7 @@ export class OpenAPIParser {
throw new Error('OpenAPI 3.0.0 requires an `info` section'); throw new Error('OpenAPI 3.0.0 requires an `info` section');
} }
if (spec.info.version === undefined) { if (spec.info.version === undefined) {
console.warn('OpenAPI 3.0.0 requires setting a `info.version` field, ignoring.') console.warn('OpenAPI 3.0.0 requires setting a `info.version` field, ignoring.');
} }
} }