mirror of
https://github.com/goodhosts/cli.git
synced 2026-04-27 07:06:00 +03:00
[PR #27] [MERGED] Fix/19 #32
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/cli/pull/27
Author: @tomjn
Created: 1/18/2021
Status: ✅ Merged
Merged: 1/18/2021
Merged by: @luthermonson
Base:
master← Head:fix/19📝 Commits (4)
ec4d81fdon't check if the hostsfile is writable if we only want readonly access9108e98adjust all calls of loadHostsfile to specify if they need write or just read accesscaab38fadd missing parameter to backup.go2eac19fload the hosts file in read only mode in the debugFooter📊 Changes
9 files changed (+12 additions, -11 deletions)
View changed files
📝
cmd/add.go(+1 -1)📝
cmd/backup.go(+1 -1)📝
cmd/check.go(+1 -1)📝
cmd/clean.go(+1 -1)📝
cmd/edit.go(+1 -1)📝
cmd/list.go(+1 -1)📝
cmd/main.go(+3 -3)📝
cmd/remove.go(+2 -1)📝
cmd/restore.go(+1 -1)📄 Description
Closes #19 by aallowing
loadHostsfileto specify if it needs write access🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.