Uh oh!
There was an error while loading. Please reload this page.
Switch to folders.FindDirWithLeaf - #1963
Merged
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.
denikforce-pushed
the
DECO-24125--cleanup-vfs-leaf
branch
from
December 9, 2024 16:02
c197c74 to
2e102b7Comparedenik
commented
Dec 10, 2024
ContributorAuthor
Good catch! Switched everything to use that. |
folders.FindDirWithLeafpietern
commented
Dec 10, 2024
Contributor
(I Markdown-ified the title to show up nicely in the GitHub release notes) |
andrewnester
approved these changes
Dec 10, 2024
Contributor
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. |
eng-dev-ecosystem-bot
commented
Dec 10, 2024
Collaborator
Test Details: go/deco-tests/12259236623 |
denik
commented
Dec 11, 2024
ContributorAuthor
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 freeto 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.