Skip to content

Remove unnecessary filepath.FromSlash calls - #1458

Merged
pietern merged 2 commits into
mainfrom
filer-fromslash
May 29, 2024
Merged

Remove unnecessary filepath.FromSlash calls#1458
pietern merged 2 commits into
mainfrom
filer-fromslash

Conversation

@pietern

Copy link
Copy Markdown
Contributor

Changes

The prior join call calls filepath.Join which returns a cleaned result.

Path cleaning, in turn, calls filepath.FromSlash.

Tests

  • Unit tests.

The prior join call calls `filepath.Join`, which returns a cleaned result.
Path cleaning in turn calls `filepath.FromSlash`.
@pietern

Copy link
Copy Markdown
ContributorAuthor

Per #1452 (review)

@pieternpietern changed the title Remove unnecessary filepath.FromSlash callsRemove unnecessary filepath.FromSlash callsMay 29, 2024
@pietern
pietern enabled auto-merge May 29, 2024 13:32
@pietern
pietern added this pull request to the merge queueMay 29, 2024
@andrewnester
andrewnester removed this pull request from the merge queue due to a manual request May 29, 2024
@andrewnester

Copy link
Copy Markdown
Contributor

Removed from queue for now because it should be merged after #1452 , correct?

@pietern

Copy link
Copy Markdown
ContributorAuthor

@andrewnester No, this is independent (and local to the local filer).

@pietern
pietern added this pull request to the merge queueMay 29, 2024
Merged via the queue into main with commit b2ea9ddMay 29, 2024
@pietern
pietern deleted the filer-fromslash branch May 29, 2024 15:37
denik pushed a commit that referenced this pull request May 20, 2026
## Changes
The prior join call calls `filepath.Join` which returns a cleaned
result.
Path cleaning, in turn, calls `filepath.FromSlash`.
## Tests
* Unit tests.
Sign up for freeto 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.

3 participants

@pietern@andrewnester@shreyas-goenka