Skip to content

Commit 65743b4

Browse files
arekkasarekkas
arekkas
authored andcommitted
scripts: fix goimports import path
1 parent 4f5df70 commit 65743b4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/run-format.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ set -euo pipefail
44

55
cd "$( dirname "${BASH_SOURCE[0]}" )/.."
66

7-
goimports -w $(go list -f {{.Dir}} ./... | grep -v vendor | grep -v oathkeeper$)
7+
goimports -w $(go list -f {{.Dir}} ./... | grep -v vendor | grep -v fosite$)
88
goimports -w *.go

scripts/test-format.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -euo pipefail
44

55
cd "$( dirname "${BASH_SOURCE[0]}" )/.."
66

7-
toformat=$(goimports -l $(go list -f {{.Dir}} ./... | grep -v vendor | grep -v 'oathkeeper$'))
7+
toformat=$(goimports -l $(go list -f {{.Dir}} ./... | grep -v vendor | grep -v 'fosite$'))
88
[ -z "$toformat" ] && echo "All files are formatted correctly"
99
[ -n "$toformat" ] && echo "Please use \`goimports\` to format the following files:" && echo $toformat && exit 1
1010

0 commit comments

Comments
 (0)