Skip to content

Commit

Permalink
style: Remove unnecessary spaces from passport.strategy.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Johnny Robeson committed Sep 17, 2022
1 parent aca485c commit 0e8ef27
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 0e8ef27

Please sign in to comment.