caveat-cli 0.20.0 → 0.20.1
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/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -32942,7 +32942,7 @@ async function readStdin() {
|
|
|
32942
32942
|
for await (const chunk of process.stdin) {
|
|
32943
32943
|
chunks.push(typeof chunk === "string" ? Buffer.from(chunk) : chunk);
|
|
32944
32944
|
}
|
|
32945
|
-
return Buffer.concat(chunks).toString("utf-8");
|
|
32945
|
+
return Buffer.concat(chunks).toString("utf-8").replace(/^\uFEFF/, "");
|
|
32946
32946
|
}
|
|
32947
32947
|
function errorMessage4(err) {
|
|
32948
32948
|
return err instanceof Error ? err.message : String(err);
|