aboutsummaryrefslogtreecommitdiff
path: root/match_file_comment.go
diff options
context:
space:
mode:
Diffstat (limited to 'match_file_comment.go')
-rw-r--r--match_file_comment.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/match_file_comment.go b/match_file_comment.go
index ac2db29..e5b4233 100644
--- a/match_file_comment.go
+++ b/match_file_comment.go
@@ -28,12 +28,6 @@ func (mfc *matchFileComment) init() (err error) {
if err != nil {
return fmt.Errorf(`%s: pattern %q: %w`, logp, mfc.Pattern, err)
}
- if mfc.Prefix != `` && mfc.Prefix[len(mfc.Prefix)-1] != ' ' {
- mfc.Prefix += ` `
- }
- if mfc.Suffix != `` && mfc.Suffix[0] != ' ' {
- mfc.Suffix = ` ` + mfc.Suffix
- }
return nil
}