We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0aa9868 commit 34b9568Copy full SHA for 34b9568
1 file changed
scratch
@@ -35,27 +35,27 @@ nocolor() {
35
}
36
37
msg() {
38
- printf '%s\n' "${GREEN}==>${CRESET} $1\n"
+ printf "${GREEN}==>${CRESET} %s\n" "$1"
39
40
41
msginst() {
42
- printf '%s\n' "[${GREEN}i${CRESET}] $1\n"
+ printf "[${GREEN}i${CRESET}] %s\n" "$1"
43
44
45
msgmiss() {
46
- printf '%s\n' "[${YELLOW}m${CRESET}] $1\n"
+ printf "[${YELLOW}m${CRESET}] %s\n" "$1"
47
48
49
msgnoinst() {
50
- printf '%s\n' "[-] $1\n"
+ printf "[-] %s\n" "$1"
51
52
53
msgerr() {
54
- printf '%s\n' "${RED}==> ERROR:${CRESET} $1\n" >&2
+ printf "${RED}==> ERROR:${CRESET} %s\n" "$1" >&2
55
56
57
msgwarn() {
58
- printf '%s\n' "${YELLOW}==> WARNING:${CRESET} $1\n" >&2
+ printf "${YELLOW}==> WARNING:${CRESET} %s\n" "$1" >&2
59
60
61
needroot() {
0 commit comments