diff --git a/.github/workflows/zh-cn-sync-check.yml b/.github/workflows/zh-cn-sync-check.yml index dfc35f5ae..389d6b0e0 100644 --- a/.github/workflows/zh-cn-sync-check.yml +++ b/.github/workflows/zh-cn-sync-check.yml @@ -152,14 +152,8 @@ jobs: done echo "------------------------" echo "Please add redirects in docs.json for moved files using the format:" - echo '{ - "redirects": [ - { - "source": "/path/to/old-file", - "destination": "/path/to/new-file" - } - ] -}' + echo '{"redirects":[{"source":"/path/to/old-file","destination":"/path/to/new-file"}]}' + echo "------------------------" fi # Exit with error if we found issues @@ -170,4 +164,4 @@ jobs: else echo "------------------------" echo "✅ All checks passed!" - fi \ No newline at end of file + fi