-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
removing console colors from non-darwin systems (#114)
* removing console colors from non-darwin systems
- Loading branch information
Showing
3 changed files
with
11 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
package step | ||
|
||
import "runtime" | ||
import ( | ||
"runtime" | ||
) | ||
|
||
type Factory struct { | ||
NonInteractive bool | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,9 @@ | ||
package step | ||
|
||
import ( | ||
"github.com/fatih/color" | ||
) | ||
|
||
var ( | ||
successGlyph = color.GreenString("✓ ") | ||
failureGlyph = color.RedString("✕ ") | ||
warningGlyph = color.YellowString("! ") | ||
successGlyph = "- " | ||
failureGlyph = "X " | ||
warningGlyph = "! " | ||
questionGlyph = "? " | ||
infoGlyph = " " | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters