Skip to content

Commit

Permalink
Update example.config.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
unanoc committed Dec 7, 2021
1 parent 7bf0258 commit 1c2ffc6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions configs/example.config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,3 +89,9 @@ validators_settings:
- id: nsfw
name: NSFW
description: Content Not suitable for work.
- id: binance-peg
name: Binance-Peg
description: Binance-Peg tokens.
- id: deflationary
name: Deflationary
description: Tokens that are deflationary or use mechanism to burn a token on transfer/swap.
4 changes: 3 additions & 1 deletion src/validator/validators.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@ func (s *Service) ValidateImage(file *file.AssetFile) error {
compErr.Append(err)
}

err = validation.ValidatePngImageDimension(file)
// TODO: Replace it with validation.ValidatePngImageDimension when "assets" repo is fixed.
// Read comments inValidatePngImageDimensionForCI.
err = validation.ValidatePngImageDimensionForCI(file)
if err != nil {
compErr.Append(err)
}
Expand Down

0 comments on commit 1c2ffc6

Please sign in to comment.