From b3d9d43291fc4853deadf50963a5fbf29c9dd247 Mon Sep 17 00:00:00 2001 From: Rafa Mel Date: Mon, 29 Apr 2019 11:32:55 +0200 Subject: [PATCH] fix(ore/tasks): fixes error message at getFromKpo --- src/core/tasks/from-kpo.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/tasks/from-kpo.ts b/src/core/tasks/from-kpo.ts index a7d0277..e43b60c 100644 --- a/src/core/tasks/from-kpo.ts +++ b/src/core/tasks/from-kpo.ts @@ -35,7 +35,7 @@ export function trunk(arr: string[], obj: any, path: string): ITask { ); } if (!props.length) { - throw Error(`There no tasks matching ${path ? `${path}.${key}` : key}`); + throw Error(`There is no task matching ${path ? `${path}.${key}` : key}`); } const actualKey = props.shift() as string; const task = trunk(arr, obj[actualKey], `${path}.${actualKey}`);