Merge pull request #2643 from cloudclaim/master

chore: fix some comments
This commit is contained in:
Frank Denis 2024-06-13 23:43:04 +02:00 committed by GitHub
commit 7a4b2ac7ea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -39,7 +39,7 @@ const (
TestStateReadSigErr // I/O error on reading .minisig (download only)
TestStateOpenErr // I/O error on opening files
TestStateOpenSigErr // I/O error on opening .minisig
TestStatePathErr // unparseable path to files (download only)
TestStatePathErr // unparsable path to files (download only)
)
type SourceTestData struct {

View File

@ -115,7 +115,7 @@ https://raw.githubusercontent.com/anudeepND/blacklist/master/adservers.txt
# OISD.NL - Blocks ads, phishing, malware, tracking and more. WARNING: this is a huge list.
# https://dblw.oisd.nl/
# OISD.NL (smaller subset) - Blocks ads, phishing, malware, tracking and more. Tries to miminize false positives.
# OISD.NL (smaller subset) - Blocks ads, phishing, malware, tracking and more. Tries to minimize false positives.
https://dblw.oisd.nl/basic/
# OISD.NL (extra) - Blocks ads, phishing, malware, tracking and more. Protection over functionality.

View File

@ -84,7 +84,7 @@ func FixImports(ctx context.Context, filename string, src []byte, opt *Options)
// env is needed.
func ApplyFixes(fixes []*ImportFix, filename string, src []byte, opt *Options, extraMode parser.Mode) (formatted []byte, err error) {
// Don't use parse() -- we don't care about fragments or statement lists
// here, and we need to work with unparseable files.
// here, and we need to work with unparsable files.
fileSet := token.NewFileSet()
parserMode := parser.Mode(0)
if opt.Comments {