Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(GH-70) Implemented validation rule to check if icon url is svg or png #174

Merged
merged 4 commits into from
Mar 12, 2019
Merged

(GH-70) Implemented validation rule to check if icon url is svg or png #174

merged 4 commits into from
Mar 12, 2019

Conversation

AdmiringWorm
Copy link
Member

Description

Implemented rule to check if the icon url used is using a png or a svg file extension.

Related Issue

#70

Motivation and Context

Locally

How Has This Been Tested?

Locally

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

This is only so we don't have to add the DocumentationUrl
ourself every time we add a new rule. Since every rule name
follow the same naming scheme, there is no need to override
the DocumentationUrl in every class.
Copy link
Member

@gep13 gep13 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@gep13
Copy link
Member

gep13 commented Mar 12, 2019

@AdmiringWorm I actually had the same thought about moving the documentation url in the base class. This is a good add!

@gep13 gep13 merged commit d2a4c80 into chocolatey-community:develop Mar 12, 2019
@gep13
Copy link
Member

gep13 commented Mar 12, 2019

@AdmiringWorm your changes have been merged, thanks for your contribution 👍

gep13 pushed a commit that referenced this pull request Mar 12, 2019
Merge pull request #174 from AdmiringWorm/feature/icon-extension

(GH-70) Implemented validation rule to check if icon url is svg or png
@AdmiringWorm AdmiringWorm deleted the feature/icon-extension branch March 13, 2019 07:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants