mirror of
https://github.com/binwiederhier/ntfy.git
synced 2025-06-01 02:59:24 +02:00
Reformatting, make update
This commit is contained in:
parent
a9019131cf
commit
419bfecd6f
11 changed files with 289 additions and 263 deletions
util
|
@ -268,7 +268,8 @@ func MaybeMarshalJSON(v interface{}) string {
|
|||
// Warning: Never use this function with the intent to run the resulting command.
|
||||
//
|
||||
// Example:
|
||||
// []string{"ls", "-al", "Document Folder"} -> ls -al "Document Folder"
|
||||
//
|
||||
// []string{"ls", "-al", "Document Folder"} -> ls -al "Document Folder"
|
||||
func QuoteCommand(command []string) string {
|
||||
var quoted []string
|
||||
for _, c := range command {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue