Other cases

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2024-04-17 13:05:02 +01:00
parent 8ba0b7d8c4
commit bc10fb7f85
No known key found for this signature in database
GPG Key ID: A2B008A5F49F5D0D
3 changed files with 6 additions and 0 deletions

View File

@ -32,6 +32,7 @@ export default async function buildKeytar(hakEnv: HakEnv, moduleInfo: Dependency
cwd: moduleInfo.moduleBuildDir,
env,
stdio: "inherit",
shell: true,
},
);
proc.on("exit", (code) => {

View File

@ -53,6 +53,7 @@ export default async function link(hakEnv: HakEnv, moduleInfo: DependencyInfo):
const proc = childProcess.spawn(yarnCmd, ["link"], {
cwd: moduleInfo.moduleOutDir,
stdio: "inherit",
shell: true,
});
proc.on("exit", (code) => {
code ? reject(code) : resolve();
@ -63,6 +64,7 @@ export default async function link(hakEnv: HakEnv, moduleInfo: DependencyInfo):
const proc = childProcess.spawn(yarnCmd, ["link", moduleInfo.name], {
cwd: hakEnv.projectRoot,
stdio: "inherit",
shell: true,
});
proc.on("exit", (code) => {
code ? reject(code) : resolve();

View File

@ -32,6 +32,9 @@ export async function setPackageVersion(ver: string): Promise<void> {
"--new-version",
ver,
],
{
shell: true,
},
(err) => {
if (err) {
reject(err);