Skip to content

Commit 19d6c12

Browse files
committed
Spellcheck: SC2002 useless cat
1 parent d2d0efe commit 19d6c12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test-build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ for version in "${versions[@]}"; do
2828
# Skip "docs" and other non-docker directories
2929
[ -f "$version/Dockerfile" ] || continue
3030

31-
tag=$(cat "$version/Dockerfile" | grep "ENV NODE_VERSION" | cut -d' ' -f3)
31+
tag=$(grep "ENV NODE_VERSION" "$version/Dockerfile" | cut -d' ' -f3)
3232

3333
info "Building $tag..."
3434

0 commit comments

Comments
 (0)