ai-lens 0.8.25 → 0.8.26
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/cli/status.js +3 -1
- package/package.json +1 -1
package/cli/status.js
CHANGED
|
@@ -195,7 +195,9 @@ function checkCaptureRun(installedTools) {
|
|
|
195
195
|
isWin ? 'powershell.exe' : command,
|
|
196
196
|
isWin ? ['-NoProfile', '-Command', command] : [],
|
|
197
197
|
{
|
|
198
|
-
|
|
198
|
+
// Prepend UTF-8 BOM on Windows — PowerShell adds it when piping stdin,
|
|
199
|
+
// so we must test that capture.js handles it correctly.
|
|
200
|
+
input: isWin ? '\uFEFF' + shellEvent : shellEvent,
|
|
199
201
|
shell: !isWin,
|
|
200
202
|
encoding: 'utf-8',
|
|
201
203
|
timeout: 10_000,
|