From f7d613fba946866af05cbb299699e8afd8f79931 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Wed, 24 May 2023 17:40:06 -0600 Subject: [PATCH] Update retrieving list of submodules. --- src/utils.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/utils.ts b/src/utils.ts index 536129ea..7f17b951 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -256,10 +256,7 @@ export const getSubmodulePath = async ({ return [] } - return stdout - .split('\n') - .filter(Boolean) - .map(line => line.split(' ')[1]) + return stdout.split('\n').map(line => line.split(' ')[1]) } export const gitSubmoduleDiffSHA = async ({