opencalque 1.10.0 → 1.10.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/cli.js +4 -0
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -34209,6 +34209,10 @@ var USAGE = `opencalque <command>
|
|
|
34209
34209
|
--version Print the version
|
|
34210
34210
|
`;
|
|
34211
34211
|
var VERSION = JSON.parse(readFileSync3(new URL("../package.json", import.meta.url), "utf8")).version;
|
|
34212
|
+
process.stdout.on("error", (error2) => {
|
|
34213
|
+
if (error2.code !== "EPIPE") throw error2;
|
|
34214
|
+
process.exit(0);
|
|
34215
|
+
});
|
|
34212
34216
|
var registry2 = standardRegistry();
|
|
34213
34217
|
var args = process.argv.slice(2);
|
|
34214
34218
|
function flag(name) {
|