Skip to content

Conversation

shaneog
Copy link
Contributor

@shaneog shaneog commented Oct 27, 2021

Description of change
The no-git-dependencies rule incorrectly identifies an archive URL as a git URL.

Added the .tgz common archive format to the isArchiveUrl function.
This fixes both the no-git-dependencies and no-git-devDependencies
rules.

Checklist

  • Unit tests have been added
  • Specific notes for documentation, if applicable

The `no-git-dependencies` rule incorrectly identifies an archive URL as a git URL.

Added the `.tgz` common archive format to the `isArchiveUrl` function.
This fixes both the `no-git-dependencies` and `no-git-devDependencies`
rules.
@shaneog shaneog requested a review from tclindner as a code owner October 27, 2021 20:49
Copy link
Owner

@tclindner tclindner left a comment

Choose a reason for hiding this comment

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

Thank you!!

@tclindner tclindner merged commit 22ed964 into tclindner:master Oct 28, 2021
@shaneog shaneog deleted the fix/archive-url-test branch October 28, 2021 03:01
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