And add a license header for derp/dropreason_string.go to make it happy. Signed-off-by: Josh Bleecher Snyder <[email protected]>
@@ -1,3 +1,7 @@
+// Copyright (c) 2021 Tailscale Inc & AUTHORS All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
// Code generated by "stringer -type=dropReason -trimprefix=dropReason"; DO NOT EDIT.
package derp
@@ -38,9 +38,6 @@ for file in $(find $1 -name '*.go' -not -path '*/.git/*'); do
$1/wgengine/router/ifconfig_windows.go)
# WireGuard copyright.
;;
- *_string.go)
- # Generated file from go:generate stringer
- ;;
*)
header="$(head -3 $file)"
if ! check_file "$header"; then