From 4a9ecb674df3507741759b3c1a8e5aad2b50e245 Mon Sep 17 00:00:00 2001 From: Ali Naci Erdem Date: Mon, 23 Sep 2024 22:47:01 +0300 Subject: [PATCH] fix inherit --- modules/actions/init.js | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/modules/actions/init.js b/modules/actions/init.js index 2cfb721..1059a13 100644 --- a/modules/actions/init.js +++ b/modules/actions/init.js @@ -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; }