radiant-docs 0.1.1 → 0.1.2
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 +4 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -114,7 +114,8 @@ async function installDependencies(cacheDir) {
|
|
|
114
114
|
execSync("npm install --silent --no-fund --no-audit", {
|
|
115
115
|
cwd: cacheDir,
|
|
116
116
|
stdio: "pipe",
|
|
117
|
-
shell: process.env.SHELL || "/bin/sh"
|
|
117
|
+
shell: process.env.SHELL || "/bin/sh",
|
|
118
|
+
env: process.env
|
|
118
119
|
});
|
|
119
120
|
log.success("Dependencies installed.");
|
|
120
121
|
} catch (error) {
|
|
@@ -142,7 +143,8 @@ async function runAstroSync(cacheDir) {
|
|
|
142
143
|
execSync("npx astro sync", {
|
|
143
144
|
cwd: cacheDir,
|
|
144
145
|
stdio: "pipe",
|
|
145
|
-
shell: process.env.SHELL || "/bin/sh"
|
|
146
|
+
shell: process.env.SHELL || "/bin/sh",
|
|
147
|
+
env: process.env
|
|
146
148
|
});
|
|
147
149
|
} catch {
|
|
148
150
|
}
|