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

remove os specific paths #105

Merged

Conversation

armanrahman22
Copy link
Contributor

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Feature

What is the current behavior? (You can also link to an open issue here)

In pkg/ignore/ignore_test.go there are two separate tests one for each OS path.

What is the new behavior (if this is a feature change)?

Combine the two separate literal os paths with one dynamic path using the path/filepath library. That way we only need to maintain one set of tests.

Does this PR introduce a breaking change? (What changes might users need to make due to this PR?)

No

Other information:

@caitlinelfring
Copy link
Member

@armanrahman22 looks like there's a conflict, let me know if you need help resolving

@armanrahman22 armanrahman22 force-pushed the arrahm/11-dynamic-os-paths branch from 626f92b to 725c315 Compare July 29, 2021 14:38
@armanrahman22
Copy link
Contributor Author

@caitlinelfring thanks, fixed the merge issue!

@caitlinelfring caitlinelfring merged commit 0b0466f into get-woke:main Jul 30, 2021
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.

Use dynamic OS-detected path separator in place of literal OS-specific separator
2 participants