Skip to content

Commit

Permalink
Fix submodule fetching when update hasn't been run
Browse files Browse the repository at this point in the history
  • Loading branch information
gjmooney committed Nov 4, 2024
1 parent 458f112 commit df181f0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions jupyterlab_git/git.py
Original file line number Diff line number Diff line change
Expand Up @@ -2193,9 +2193,9 @@ async def submodule(self, path):
code, output, error = await self.__execute(cmd, cwd=path)

results = []
for sha, name, commit in (
line.strip().split(" ") for line in output.splitlines()
):

for line in output.splitlines():
name = line.strip().split(" ")[-1]
submodule = {
"name": name,
}
Expand Down

0 comments on commit df181f0

Please sign in to comment.