Skip to content

Commit

Permalink
chore: clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
bashleigh committed Jan 4, 2021
1 parent aca3896 commit 0fcce43
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/__tests__/polymorphic.repository.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ describe('AbstractPolymorphicRepository', () => {
});

describe('Childen', () => {

describe('create', () => {
it('Can create with parent', async () => {
const repository = connection.getCustomRepository(AdvertRepository);
Expand Down
1 change: 0 additions & 1 deletion src/polymorphic.repository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,6 @@ export abstract class AbstractPolymorphicRepository<E> extends Repository<E> {
options.map(
(option: PolymorphicMetadataInterface) =>
new Promise((resolve) => {
console.log('delete', option.deleteBeforeUpdate);
if (!option.deleteBeforeUpdate) {
resolve(Promise.resolve());
}
Expand Down

0 comments on commit 0fcce43

Please sign in to comment.