@mejazbese21/obsidian-clipper-cli 1.6.6 → 1.6.7
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.cjs +14 -4
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -26674,7 +26674,17 @@ async function main() {
|
|
|
26674
26674
|
process.stdout.write(result.fullContent);
|
|
26675
26675
|
}
|
|
26676
26676
|
}
|
|
26677
|
-
main().
|
|
26678
|
-
|
|
26679
|
-
|
|
26680
|
-
|
|
26677
|
+
main().then(
|
|
26678
|
+
() => {
|
|
26679
|
+
process.exitCode = 0;
|
|
26680
|
+
if (process.stdout.writableLength === 0) {
|
|
26681
|
+
process.exit(0);
|
|
26682
|
+
} else {
|
|
26683
|
+
process.stdout.once("drain", () => process.exit(0));
|
|
26684
|
+
}
|
|
26685
|
+
},
|
|
26686
|
+
(err) => {
|
|
26687
|
+
console.error(err.message || err);
|
|
26688
|
+
process.exit(1);
|
|
26689
|
+
}
|
|
26690
|
+
);
|
package/package.json
CHANGED