@moneko/core 4.12.2 → 4.12.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -59,7 +59,7 @@ while IFS= read -r -d '' record; do
59
59
  done < <(git status --porcelain=v1 -z --untracked-files=all)
60
60
 
61
61
  if [ "$had_errors" -ne 0 ]; then
62
- printf '\nAI ESLint hook: 请 Agent 继续修复剩余 ESLint 问题。\n' >&2
62
+ printf '\nAI ESLint hook: 请 Agent 继续修复剩余 ESLint 问题。\n' >&2
63
63
  exit 2
64
64
  fi
65
65
 
@@ -20,9 +20,10 @@ if ! command -v npx >/dev/null 2>&1; then
20
20
  exit 2
21
21
  fi
22
22
 
23
- if ! npx mo stylelint src; then
23
+ output=$(npx mo stylelint src 2>&1) || {
24
+ printf '%s\n' "$output" >&2
24
25
  printf '\nAI Stylelint hook: 请 Agent 继续修复剩余 Stylelint 问题。\n' >&2
25
26
  exit 2
26
- fi
27
+ }
27
28
 
28
29
  exit 0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moneko/core",
3
- "version": "4.12.2",
3
+ "version": "4.12.4",
4
4
  "description": "@moneko/core",
5
5
  "main": "lib/index.mjs",
6
6
  "type": "module",