Skip to content

Commit

Permalink
Merge pull request #8 from SwiftPackageIndex/fix-git-submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
finestructure authored Oct 4, 2023
2 parents 20f08a9 + 26255d1 commit 7b3c0d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/ShellOutCommand+git.swift
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public extension ShellOutCommand {
/// Run a git submodule update
static func gitSubmoduleUpdate(initializeIfNeeded: Bool = true, recursive: Bool = true, allowingPrompt: Bool = true, quiet: Bool = true) -> ShellOutCommand {
var command = git(allowingPrompt: allowingPrompt)
.appending(arguments: ["submodule update"])
.appending(arguments: ["submodule", "update"])

if initializeIfNeeded {
command.append(argument: "--init")
Expand Down

0 comments on commit 7b3c0d8

Please sign in to comment.