From 7224dcc3cd3ebf388bcc9a3d1a7805773815ebd8 Mon Sep 17 00:00:00 2001 From: ehmicky Date: Tue, 19 Feb 2019 10:00:00 +0100 Subject: [PATCH] Fix linting --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index eb4786e..03a9beb 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ $ test-openapi **/*.tasks.yml ```js const { run } = require('test-openapi') -const results = await run(options) +const promise = run(options) ``` If a task failed, `run()` will reject the promise with a `TestOpenApiError`. @@ -58,7 +58,7 @@ If a task failed, `run()` will reject the promise with a `TestOpenApiError`. Options are passed as arguments. Tasks are passed as a `tasks` argument. ```js -const results = await run({ +const promise = run({ tasks: ['**/*.tasks.yml'], merge: { spec: { definition: 'openapi_schema.yml' } }, })