Skip to content

Commit

Permalink
Merge pull request #1033 from jrobeson/reformat-passport-strategy
Browse files Browse the repository at this point in the history
style: Remove unnecessary spaces from passport.strategy.ts
  • Loading branch information
kamilmysliwiec authored Sep 19, 2022
2 parents 0b50799 + 0e8ef27 commit c500cac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/passport/passport.strategy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ export function PassportStrategy<T extends Type<any> = any>(
done(err, null);
}
};
/**
/**
* Commented out due to the regression it introduced
* Read more here: https://github.com/nestjs/passport/issues/446
const validate = new.target?.prototype?.validate;
if (validate) {
Object.defineProperty(callback, 'length', {
Expand Down

0 comments on commit c500cac

Please sign in to comment.