Skip to content

Commit

Permalink
fix inherit
Browse files Browse the repository at this point in the history
  • Loading branch information
anacierdem committed Sep 23, 2024
1 parent dcec1eb commit 4a9ecb6
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions modules/actions/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,15 @@ const autoDetect = async (info) => {
return false;
});

const tmp = await runGitMaybeHost(info, [
'submodule',
'status',
info.vendorDirectory,
]).catch((e) => {
const tmp = await runGitMaybeHost(
info,
['submodule', 'status', info.vendorDirectory],
{
inheritStdin: false,
inheritStdout: false,
inheritStderr: false,
}
).catch((e) => {
if (!(e instanceof CommandError)) {
throw e;
}
Expand Down

0 comments on commit 4a9ecb6

Please sign in to comment.