@zabaca/lattice 1.3.1 → 1.3.3
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/main.js +4 -3
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -3590,8 +3590,9 @@ class ReceiveCommand extends CommandRunner7 {
|
|
|
3590
3590
|
`);
|
|
3591
3591
|
const crocPath = await ensureCroc();
|
|
3592
3592
|
const receiveCode = await new Promise((resolve4, reject) => {
|
|
3593
|
-
const child = spawn(crocPath, ["--
|
|
3594
|
-
stdio: "inherit"
|
|
3593
|
+
const child = spawn(crocPath, ["--yes", "--out", docsDir], {
|
|
3594
|
+
stdio: "inherit",
|
|
3595
|
+
env: { ...process.env, CROC_SECRET: code }
|
|
3595
3596
|
});
|
|
3596
3597
|
child.on("close", (code2) => {
|
|
3597
3598
|
resolve4(code2 ?? 0);
|
|
@@ -3703,7 +3704,7 @@ class ShareCommand extends CommandRunner8 {
|
|
|
3703
3704
|
\uD83D\uDCE4 Sharing ${isDir ? "directory" : "file"}: ${fullPath}
|
|
3704
3705
|
`);
|
|
3705
3706
|
const crocPath = await ensureCroc();
|
|
3706
|
-
const child = spawn2(crocPath, ["--
|
|
3707
|
+
const child = spawn2(crocPath, ["--disable-clipboard", "send", fullPath], {
|
|
3707
3708
|
stdio: ["inherit", "pipe", "pipe"]
|
|
3708
3709
|
});
|
|
3709
3710
|
let codeExtracted = false;
|