[PR #21] [CLOSED] Fix #18 #32

Closed
opened 2026-03-02 05:08:15 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/goodhosts/hostsfile/pull/21
Author: @tomjn
Created: 11/5/2021
Status: Closed

Base: masterHead: patch-3


📝 Commits (1)

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 hosts.go (+1 -0)

📄 Description

Second attempt at trying to fix this that hopefully addresses the feedback from my last attempt.

The issue being that the only time it checks how many are on the same line is during a clean, otherwise it doesn't check this during the Add routine allowing it to happen sometimes


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/goodhosts/hostsfile/pull/21 **Author:** [@tomjn](https://github.com/tomjn) **Created:** 11/5/2021 **Status:** ❌ Closed **Base:** `master` ← **Head:** `patch-3` --- ### 📝 Commits (1) - [`8e7dd11`](https://github.com/goodhosts/hostsfile/commit/8e7dd11ae757524a6f174c0195f3d94518c4fa52) Fix #18 ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `hosts.go` (+1 -0) </details> ### 📄 Description Second attempt at trying to fix this that hopefully addresses the feedback from my last attempt. The issue being that the only time it checks how many are on the same line is during a clean, otherwise it doesn't check this during the Add routine allowing it to happen sometimes --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 05:08:15 +03:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hostsfile#32
No description provided.