job51-gitlab-cr-node-jt-1 2.0.8 → 2.0.9

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.
Files changed (2) hide show
  1. package/index.js +0 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -530,7 +530,6 @@ function runClaudeCommand(promptContent) {
530
530
  debugLog("AI review命令开始时间, 当前文件夹: " + __dirname)
531
531
  // 使用spawn替代exec,更安全地处理命令执行并实现环境隔离
532
532
  const claudeProcess = spawn('claude', ['--tools', 'default', '-p', '--', promptContent], {
533
- shell: true, // ✅ 启用 shell,支持别名和完整 PATH
534
533
  cwd: __dirname, // ✅ 设置工作目录为当前脚本所在目录
535
534
  env: process.env,
536
535
  stdio: ['ignore', 'pipe', 'pipe']
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "job51-gitlab-cr-node-jt-1",
3
- "version": "2.0.8",
3
+ "version": "2.0.9",
4
4
  "description": "GitLab merge request code review tool with AI-powered analysis",
5
5
  "main": "index.js",
6
6
  "bin": {