Skip to content

Commit 7b3c0d8

Browse files
Merge pull request #8 from SwiftPackageIndex/fix-git-submodule
2 parents 20f08a9 + 26255d1 commit 7b3c0d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/ShellOutCommand+git.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public extension ShellOutCommand {
6565
/// Run a git submodule update
6666
static func gitSubmoduleUpdate(initializeIfNeeded: Bool = true, recursive: Bool = true, allowingPrompt: Bool = true, quiet: Bool = true) -> ShellOutCommand {
6767
var command = git(allowingPrompt: allowingPrompt)
68-
.appending(arguments: ["submodule update"])
68+
.appending(arguments: ["submodule", "update"])
6969

7070
if initializeIfNeeded {
7171
command.append(argument: "--init")

0 commit comments

Comments
 (0)