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