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

Clean up filenames produced by rust-code-analysis-cli #400

Merged
merged 1 commit into from Dec 23, 2020

Conversation

Luni-4
Copy link
Collaborator

@Luni-4 Luni-4 commented Dec 16, 2020

In #386, when a path is cleaned up to create a new filename, the root and the current directory symbol haven't been removed, moreover some symbols lead to duplicates filenames. This PR fixes those problems.

Thanks in advance for your review! :)

@Luni-4 Luni-4 requested a review from marco-c December 16, 2020 12:23
@Luni-4 Luni-4 force-pushed the forgot-symbols branch 2 times, most recently from cd7788b to 4bc676c Compare December 21, 2020 22:56
@Luni-4 Luni-4 requested a review from marco-c December 21, 2020 22:58
@Luni-4 Luni-4 changed the title Remove more symbols from a path Fix duplicates and not allowed filenames produced by rust-code-analysis-cli Dec 22, 2020
@Luni-4 Luni-4 changed the title Fix duplicates and not allowed filenames produced by rust-code-analysis-cli Clean up filenames produced by rust-code-analysis-cli Dec 22, 2020
- Remove root
- Remove current directory symbol
- Avoid having duplicates filenames
@codecov-io
Copy link

Codecov Report

Merging #400 (1b2ec10) into master (0e7db3a) will decrease coverage by 0.00%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #400      +/-   ##
==========================================
- Coverage   23.27%   23.26%   -0.01%     
==========================================
  Files          45       45              
  Lines        5487     5489       +2     
  Branches      805      805              
==========================================
  Hits         1277     1277              
- Misses       3688     3690       +2     
  Partials      522      522              
Impacted Files Coverage Δ
rust-code-analysis-cli/src/formats.rs 0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0e7db3a...1b2ec10. Read the comment docs.

@marco-c marco-c merged commit f9a4a9c into mozilla:master Dec 23, 2020
@Luni-4 Luni-4 deleted the forgot-symbols branch December 23, 2020 15:17
spacedragon pushed a commit to spacedragon/rust-code-analysis that referenced this pull request Feb 2, 2021
- Remove root
- Remove current directory symbol
- Avoid having duplicates filenames
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.

None yet

3 participants