Skip to content
This repository was archived by the owner on Dec 29, 2018. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions CommandLine/CommandLine.swift
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,7 @@ public class CommandLine {
continue
}

// Swift 1.2: String.append() doesn't like emoji for some reason, seems
// like a bug. Same workaround in String extension splitByCharacter()
flag = flag + String(c)
flag.append(c)
}

/* Remove attached argument from flag */
Expand Down
2 changes: 1 addition & 1 deletion CommandLine/StringExtensions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ internal extension String {
continue
}

buf = buf + String(c)
buf.append(c)
}

if count(buf) > 0 {
Expand Down