From a2d0370d9f6afa0fed2b4388891c0f2240763833 Mon Sep 17 00:00:00 2001 From: ZePan110 Date: Wed, 9 Oct 2024 00:25:21 +0800 Subject: [PATCH] Fix issue Signed-off-by: ZePan110 --- .github/workflows/pr-path-detection.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-path-detection.yml b/.github/workflows/pr-path-detection.yml index 0a28a8d1..fcea7508 100644 --- a/.github/workflows/pr-path-detection.yml +++ b/.github/workflows/pr-path-detection.yml @@ -110,7 +110,7 @@ jobs: refer_path=$(echo "$png_line"|cut -d':' -f1 | cut -d'/' -f2-) png_path=$(echo "$png_line"|cut -d '(' -f2 | cut -d ')' -f1) if [[ "${png_path:0:1}" == "/" ]]; then - check_path=$png_path + check_path="."$png_path elif [[ "$png_path" == *#* ]]; then relative_path=$(echo "$png_path" | cut -d '#' -f1) if [ -n "$relative_path" ]; then