Merge pull request #3140 from dokku/josegonzalez-patch-1

feat: add newline to config:get output
This commit is contained in:
Jose Diaz-Gonzalez
2018-04-02 01:41:23 -04:00
committed by GitHub

View File

@@ -43,9 +43,9 @@ func CommandGet(args []string, global bool, quoted bool) {
os.Exit(1) os.Exit(1)
} else { } else {
if quoted { if quoted {
fmt.Printf("'%s'", singleQuoteEscape(value)) fmt.Printf("'%s'\n", singleQuoteEscape(value))
} else { } else {
fmt.Printf("%s", value) fmt.Printf("%s\n", value)
} }
} }
} }