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

fix duplicate route order #994

Closed

Conversation

nazoking
Copy link

Describe the PR

#968 fixes the priority of duplicate routes in alphabetical order in the file path.
But that is not the priority we need in the field.

  1. If more than one is specified in the -dir option, give priority to the directory at the beginning of the option.
  2. Prioritize the source of the dependency over the library of the dependency.

Our project consists of creating a new site by referring to the source of common parts.

In many cases, we believe that this priority specification will work as ideal.

@codecov
Copy link

codecov bot commented Sep 14, 2021

Codecov Report

Attention: Patch coverage is 88.23529% with 2 lines in your changes missing coverage. Please review.

Project coverage is 92.58%. Comparing base (523e046) to head (5c5431c).
Report is 275 commits behind head on master.

Files with missing lines Patch % Lines
parser.go 84.61% 0 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #994      +/-   ##
==========================================
+ Coverage   92.57%   92.58%   +0.01%     
==========================================
  Files           8        8              
  Lines        1925     1928       +3     
==========================================
+ Hits         1782     1785       +3     
  Misses         80       80              
  Partials       63       63              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ubogdan ubogdan closed this Oct 21, 2024
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