Skip to content

Commit

Permalink
ci: ignore coverage (already ignored)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre Fiorelli committed Jul 3, 2020
1 parent 796b0ce commit eda8b3c
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions packages/crud-typeorm/src/typeorm-crud.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,11 +129,8 @@ export class TypeOrmCrudService<T> extends CrudService<T> {
} else {
const primaryParams = this.getPrimaryParams(req.options);

/* istanbul ignore if */
if (
!primaryParams.length &&
/* istanbul ignore next */ primaryParams.some((p) => isNil(saved[p]))
) {
/* istanbul ignore next */
if (!primaryParams.length && primaryParams.some((p) => isNil(saved[p]))) {
return saved;
} else {
req.parsed.search = primaryParams.reduce(
Expand Down

0 comments on commit eda8b3c

Please sign in to comment.