@zabaca/lattice 1.3.0 → 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 +3 -2
- 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, ["--yes", "--out", docsDir
|
|
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);
|