summaryrefslogtreecommitdiff
path: root/vendor/github.com/jackc/pgx/v5/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/jackc/pgx/v5/Rakefile')
-rw-r--r--vendor/github.com/jackc/pgx/v5/Rakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/jackc/pgx/v5/Rakefile b/vendor/github.com/jackc/pgx/v5/Rakefile
index d957573e9..3e3aa5030 100644
--- a/vendor/github.com/jackc/pgx/v5/Rakefile
+++ b/vendor/github.com/jackc/pgx/v5/Rakefile
@@ -2,7 +2,7 @@ require "erb"
rule '.go' => '.go.erb' do |task|
erb = ERB.new(File.read(task.source))
- File.write(task.name, "// Do not edit. Generated from #{task.source}\n" + erb.result(binding))
+ File.write(task.name, "// Code generated from #{task.source}. DO NOT EDIT.\n\n" + erb.result(binding))
sh "goimports", "-w", task.name
end