Compare commits
No commits in common. "master" and "v0.0.1" have entirely different histories.
@ -65,6 +65,7 @@ func GetTextQuote(s QuotingStyle) rune {
|
||||
}
|
||||
|
||||
func Quote(
|
||||
buffer []rune,
|
||||
arg []rune,
|
||||
style QuotingStyle,
|
||||
flags int,
|
||||
@ -72,7 +73,6 @@ func Quote(
|
||||
leftQuote rune,
|
||||
rightQuote rune,
|
||||
) []rune {
|
||||
var buffer []rune
|
||||
var elideOuterQuotes bool = (flags & QAElideOuterQuotes) != 0
|
||||
var pendingShellEscapeEnd bool
|
||||
var escaping bool
|
||||
@ -380,6 +380,7 @@ ForceOuterQuotingStyle:
|
||||
style = ShellEscapeAlwaysQuotingStyle
|
||||
}
|
||||
return Quote(
|
||||
buffer,
|
||||
arg,
|
||||
style,
|
||||
flags & ^QAElideOuterQuotes,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user