mirror of
https://github.com/goodhosts/hostsfile.git
synced 2026-04-27 07:25:53 +03:00
[PR #52] [MERGED] fixing multiple calls to add and hostsperline from being destructive #54
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hostsfile#54
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/goodhosts/hostsfile/pull/52
Author: @luthermonson
Created: 10/29/2023
Status: ✅ Merged
Merged: 10/29/2023
Merged by: @luthermonson
Base:
main← Head:fix-hpl📝 Commits (1)
efb40e8fixing multiple calls to add and hostsperline from being destructive📊 Changes
2 files changed (+21 additions, -6 deletions)
View changed files
📝
hosts.go(+8 -5)📝
hosts_test.go(+13 -1)📄 Description
Addnow puts new hosts into the last line it finds instead of the firstfixes #51
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.