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

common/herrors: Fix args order in strings.TrimPrefix #5669

Merged
merged 1 commit into from
Feb 2, 2019
Merged

common/herrors: Fix args order in strings.TrimPrefix #5669

merged 1 commit into from
Feb 2, 2019

Conversation

quasilyte
Copy link
Contributor

Old code always returned "." or "" (if filepath.Ext(filename) returned ".").
Now it properly trims the prefix.

Signed-off-by: Iskander Sharipov quasilyte@gmail.com

Sorry for the branch name.
GitHub web UI automatically creates branches like patch-N when editing from the site.
It's probably a good idea to give them a feature request to provide an imput for a branch name.

Old code always returned "." or "" (if filepath.Ext(filename) returned ".").
Now it properly trims the prefix.

Signed-off-by: Iskander Sharipov <quasilyte@gmail.com>
@bep bep merged commit 483cf19 into gohugoio:master Feb 2, 2019
@quasilyte quasilyte deleted the patch-1 branch February 2, 2019 09:18
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants