1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

CHORE: Vendor go-powershell (#2837)

This commit is contained in:
Tom Limoncelli
2024-02-15 13:46:32 -05:00
committed by GitHub
parent dbbc9e52a9
commit bb3d191efb
17 changed files with 647 additions and 7 deletions

View File

@ -0,0 +1,9 @@
// Copyright (c) 2017 Gorillalabs. All rights reserved.
package utils
import "strings"
func QuoteArg(s string) string {
return "'" + strings.Replace(s, "'", "\"", -1) + "'"
}