Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
bassosimone committed Feb 1, 2024
1 parent 28ec063 commit fe81b5f
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions script/nocopyreadall.bash
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,20 @@ for file in $(find . -type f -name \*.go); do
continue
fi

if [ "$file" = "./internal/shellx/shellx.go" ]; then
# We're allowed to use ReadAll and Copy in this file to
# avoid depending on netxlite, given that netxlite's does
# not compile with go1.18 due to the quic dependency.
continue
fi

if [ "$file" = "./internal/shellx/shellx_test.go" ]; then
# We're allowed to use ReadAll and Copy in this file to
# avoid depending on netxlite, given that netxlite's does
# not compile with go1.18 due to the quic dependency.
continue
fi

if [ "$file" = "./internal/testingsocks5/request.go" ]; then
# We're allowed to use ReadAll and Copy in this file because
# it's code that we only use for testing purposes.
Expand Down

0 comments on commit fe81b5f

Please sign in to comment.