Skip to content

Commit

Permalink
fix(ore/tasks): fixes error message at getFromKpo
Browse files Browse the repository at this point in the history
  • Loading branch information
rafamel committed Apr 29, 2019
1 parent d2d03e1 commit b3d9d43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/tasks/from-kpo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}`);
Expand Down

0 comments on commit b3d9d43

Please sign in to comment.