radiant-docs 0.1.0 → 0.1.1
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
|
@@ -113,7 +113,8 @@ 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"
|
|
117
118
|
});
|
|
118
119
|
log.success("Dependencies installed.");
|
|
119
120
|
} catch (error) {
|
|
@@ -140,7 +141,8 @@ async function runAstroSync(cacheDir) {
|
|
|
140
141
|
try {
|
|
141
142
|
execSync("npx astro sync", {
|
|
142
143
|
cwd: cacheDir,
|
|
143
|
-
stdio: "pipe"
|
|
144
|
+
stdio: "pipe",
|
|
145
|
+
shell: process.env.SHELL || "/bin/sh"
|
|
144
146
|
});
|
|
145
147
|
} catch {
|
|
146
148
|
}
|