@hasna/terminal 2.0.4 → 2.0.5
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/cli.js +1 -1
- package/package.json +1 -1
- package/src/cli.tsx +1 -1
package/dist/cli.js
CHANGED
|
@@ -550,7 +550,7 @@ else if (args.length > 0) {
|
|
|
550
550
|
// Step 3: Execute
|
|
551
551
|
try {
|
|
552
552
|
const start = Date.now();
|
|
553
|
-
const raw = execSync(actualCmd, { encoding: "utf8", maxBuffer: 10 * 1024 * 1024, cwd: process.cwd() });
|
|
553
|
+
const raw = execSync(actualCmd + " 2>&1", { encoding: "utf8", maxBuffer: 10 * 1024 * 1024, cwd: process.cwd() });
|
|
554
554
|
const duration = Date.now() - start;
|
|
555
555
|
const clean = stripNoise(stripAnsi(raw)).cleaned;
|
|
556
556
|
const rawTokens = estimateTokens(raw);
|
package/package.json
CHANGED
package/src/cli.tsx
CHANGED
|
@@ -535,7 +535,7 @@ else if (args.length > 0) {
|
|
|
535
535
|
// Step 3: Execute
|
|
536
536
|
try {
|
|
537
537
|
const start = Date.now();
|
|
538
|
-
const raw = execSync(actualCmd, { encoding: "utf8", maxBuffer: 10 * 1024 * 1024, cwd: process.cwd() });
|
|
538
|
+
const raw = execSync(actualCmd + " 2>&1", { encoding: "utf8", maxBuffer: 10 * 1024 * 1024, cwd: process.cwd() });
|
|
539
539
|
const duration = Date.now() - start;
|
|
540
540
|
const clean = stripNoise(stripAnsi(raw)).cleaned;
|
|
541
541
|
const rawTokens = estimateTokens(raw);
|