Merged
Conversation
shreyas-goenka
approved these changes
Dec 9, 2024
andrewnester
approved these changes
Dec 9, 2024
The git module now uses alternative implementation that uses os module + strings as path directly (#1945). The remaining use case is also updated to use git.FindLeafInTree, as it's a better fit.
c197c74 to
2e102b7
Compare
Contributor
Author
Good catch! Switched everything to use that. |
folders.FindDirWithLeaf
Contributor
|
(I Markdown-ified the title to show up nicely in the GitHub release notes) |
andrewnester
approved these changes
Dec 10, 2024
|
If integration tests don't run automatically, an authorized user can run them manually by following the instructions below: Trigger: Inputs:
Checks will be approved automatically on success. |
Collaborator
|
Test Details: go/deco-tests/12259236623 |
Contributor
Author
|
Integration test failure is unrelated (TestAccBundleDeployUcSchema) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
Remove two duplicate implementations of the same logic, switch everywhere to folders.FindDirWithLeaf.
Add Abs() call to FindDirWithLeaf, it cannot really work on relative paths.
Tests
Existing tests.