mirror of
https://github.com/mikefarah/yq.git
synced 2025-01-24 14:45:39 +00:00
Fixed spelling of coloured
This commit is contained in:
parent
f071a25fa9
commit
95e7b35f74
@ -27,7 +27,7 @@ var forceNoColor = false
|
|||||||
var colorsEnabled = false
|
var colorsEnabled = false
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
// when NO_COLOR environment variable presents and not an empty string the colored output should be disabled;
|
// when NO_COLOR environment variable presents and not an empty string the coloured output should be disabled;
|
||||||
// refer to no-color.org
|
// refer to no-color.org
|
||||||
forceNoColor = os.Getenv("NO_COLOR") != ""
|
forceNoColor = os.Getenv("NO_COLOR") != ""
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user