Skip to content

Commit 8cce805

Browse files
committed
fix(build): verify Playwright headless shell directory
1 parent fde808f commit 8cce805

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Dockerfile.rust

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ RUN --mount=type=cache,target=/home/deva/.npm,uid=${DEVA_UID},gid=${DEVA_GID},sh
139139
done && \
140140
npx playwright --version && \
141141
ls "$PLAYWRIGHT_BROWSERS_PATH" && \
142-
test -n "$(find "$PLAYWRIGHT_BROWSERS_PATH" -path '*/chromium_headless_shell-*/*/headless_shell' -type f -perm /111 -print -quit)" && \
142+
test -d "$(find "$PLAYWRIGHT_BROWSERS_PATH" -maxdepth 1 -type d -name 'chromium_headless_shell-*' -print -quit)" && \
143143
npm cache clean --force
144144

145145
USER root

0 commit comments

Comments
 (0)