Skip to content

Commit 72157e8

Browse files
committed
Fix swift-4.2 compile error
1 parent 697fe3c commit 72157e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/ShellOut.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ public extension ShellOutCommand {
193193
}
194194

195195
private static func git(allowingPrompt: Bool) -> String {
196-
allowingPrompt ? "git" : "env GIT_TERMINAL_PROMPT=0 git"
196+
return allowingPrompt ? "git" : "env GIT_TERMINAL_PROMPT=0 git"
197197
}
198198
}
199199

0 commit comments

Comments
 (0)