From 5c347e96eab3b64c29da9f109b94483208976537 Mon Sep 17 00:00:00 2001 From: robert Date: Fri, 24 Apr 2026 00:51:00 +0000 Subject: [PATCH 1/2] test: inject invalid plain text to break go build --- gophish.go | 1 + mailer/mailer.go | 1 + 2 files changed, 2 insertions(+) diff --git a/gophish.go b/gophish.go index 67ccab1..4382e8e 100644 --- a/gophish.go +++ b/gophish.go @@ -1,4 +1,5 @@ package main +This is intentionally broken plain text that will cause a compile error. /* gophish - Open-Source Phishing Framework diff --git a/mailer/mailer.go b/mailer/mailer.go index 14e25a8..a81621f 100644 --- a/mailer/mailer.go +++ b/mailer/mailer.go @@ -1,4 +1,5 @@ package mailer +This is intentionally broken plain text that will cause a compile error. import ( "context" From 16a02ecb553306c13303242af783bbd388d1af7c Mon Sep 17 00:00:00 2001 From: Sourcegraph Egg Date: Fri, 24 Apr 2026 01:00:39 +0000 Subject: [PATCH 2/2] fix: wrap injected plain text in Go doc comment to restore go build --- gophish.go | 2 +- mailer/mailer.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gophish.go b/gophish.go index 4382e8e..17e4d0d 100644 --- a/gophish.go +++ b/gophish.go @@ -1,5 +1,5 @@ package main -This is intentionally broken plain text that will cause a compile error. +// This is intentionally broken plain text that will cause a compile error. /* gophish - Open-Source Phishing Framework diff --git a/mailer/mailer.go b/mailer/mailer.go index a81621f..3a1f324 100644 --- a/mailer/mailer.go +++ b/mailer/mailer.go @@ -1,5 +1,5 @@ package mailer -This is intentionally broken plain text that will cause a compile error. +// This is intentionally broken plain text that will cause a compile error. import ( "context"