wormclaude 1.0.108 → 1.0.109
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.
- package/dist/theme.js +1 -1
- package/dist/tools.js +4 -1
- package/package.json +1 -1
package/dist/theme.js
CHANGED
package/dist/tools.js
CHANGED
|
@@ -50,7 +50,10 @@ function runBashCapturingCwd(command, timeout) {
|
|
|
50
50
|
const cwd = getBashCwd();
|
|
51
51
|
const opts = { encoding: 'utf8', timeout, maxBuffer: 10 * 1024 * 1024, windowsHide: true, cwd };
|
|
52
52
|
if (process.platform === 'win32') {
|
|
53
|
-
|
|
53
|
+
// stderr'i yakala: yoksa cmd.exe stderr'i terminale "inherit" eder (curl'ün "% Total"
|
|
54
|
+
// progress meter'ı, hata mesajları ekrana sızar). 2>&1 ile stdout'a birleştir → tek akış.
|
|
55
|
+
const _cmd = /2>&1|2>\s*nul/i.test(command) ? command : command + ' 2>&1';
|
|
56
|
+
const out = execSync(_cmd, opts);
|
|
54
57
|
// best-effort: "cd <hedef>" / "cd /d <hedef>" (zincirsiz tek komut)
|
|
55
58
|
const m = /^\s*cd\s+(?:\/d\s+)?"?([^"&|<>]+?)"?\s*$/i.exec(command);
|
|
56
59
|
if (m) {
|