diff --git a/multinode/multinodedb/dbx/gen.sh b/multinode/multinodedb/dbx/gen.sh index 2255f50f6..f6af45204 100644 --- a/multinode/multinodedb/dbx/gen.sh +++ b/multinode/multinodedb/dbx/gen.sh @@ -2,7 +2,7 @@ dbx schema -d pgx multinodedb.dbx . dbx golang -d pgx -p dbx -t templates multinodedb.dbx . -( echo '//lint:file-ignore * generated file'; cat multinodedb.dbx.go ) > multinodedb.dbx.go.tmp && mv multinodedb.dbx.go.tmp multinodedb.dbx.go +( printf '%s\n' '//lint:file-ignore U1000,ST1012 generated file'; cat multinodedb.dbx.go ) > multinodedb.dbx.go.tmp && mv multinodedb.dbx.go.tmp multinodedb.dbx.go gofmt -r "*sql.Tx -> tagsql.Tx" -w multinodedb.dbx.go gofmt -r "*sql.Rows -> tagsql.Rows" -w multinodedb.dbx.go perl -0777 -pi \ diff --git a/multinode/multinodedb/dbx/multinodedb.dbx.go b/multinode/multinodedb/dbx/multinodedb.dbx.go index 117edb20f..b7af4ed70 100644 --- a/multinode/multinodedb/dbx/multinodedb.dbx.go +++ b/multinode/multinodedb/dbx/multinodedb.dbx.go @@ -1,4 +1,4 @@ -//lint:file-ignore * generated file +//lint:file-ignore U1000,ST1012 generated file // AUTOGENERATED BY storj.io/dbx // DO NOT EDIT. diff --git a/satellite/satellitedb/dbx/gen.sh b/satellite/satellitedb/dbx/gen.sh index 463a0502b..8e162d63c 100644 --- a/satellite/satellitedb/dbx/gen.sh +++ b/satellite/satellitedb/dbx/gen.sh @@ -2,7 +2,7 @@ dbx schema -d pgx -d pgxcockroach satellitedb.dbx . dbx golang -d pgx -d pgxcockroach -p dbx -t templates satellitedb.dbx . -( echo '//lint:file-ignore * generated file'; cat satellitedb.dbx.go ) > satellitedb.dbx.go.tmp && mv satellitedb.dbx.go.tmp satellitedb.dbx.go +( printf '%s\n' '//lint:file-ignore U1000,ST1012 generated file'; cat satellitedb.dbx.go ) > satellitedb.dbx.go.tmp && mv satellitedb.dbx.go.tmp satellitedb.dbx.go gofmt -r "*sql.Tx -> tagsql.Tx" -w satellitedb.dbx.go gofmt -r "*sql.Rows -> tagsql.Rows" -w satellitedb.dbx.go perl -0777 -pi \ diff --git a/satellite/satellitedb/dbx/satellitedb.dbx.go b/satellite/satellitedb/dbx/satellitedb.dbx.go index d45fab382..cf95093c8 100644 --- a/satellite/satellitedb/dbx/satellitedb.dbx.go +++ b/satellite/satellitedb/dbx/satellitedb.dbx.go @@ -1,4 +1,4 @@ -//lint:file-ignore * generated file +//lint:file-ignore U1000,ST1012 generated file // AUTOGENERATED BY storj.io/dbx // DO NOT EDIT.