Skip to content

Commit ba9373b

Browse files
authored
Update comment for spm_shellEscaped
1 parent 5d62b13 commit ba9373b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/TSCBasic/StringConversions.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ private func inShellWhitelist(_ codeUnit: UInt8) -> Bool {
4343
extension String {
4444

4545
/// Creates a shell escaped string. If the string does not need escaping, returns the original string.
46-
/// Otherwise escapes using single quotes. For example:
46+
/// Otherwise escapes using single quotes on Unix and double quotes on Windows. For example:
4747
/// hello -> hello, hello$world -> 'hello$world', input A -> 'input A'
4848
///
4949
/// - Returns: Shell escaped string.

0 commit comments

Comments
 (0)