mirror of
https://github.com/IonicaBizau/git-stats.git
synced 2024-09-29 19:51:29 +02:00
Default theme: light
This commit is contained in:
parent
3c784df224
commit
ae8f2b8db2
@ -56,7 +56,7 @@ switch (process.argv[2]) {
|
||||
if (err) throw err;
|
||||
data = AnsiParser.removeAnsi(data);
|
||||
if (process.argv.indexOf("--no-ansi") === -1) {
|
||||
var theme = THEMES.LIGHT
|
||||
var theme = THEMES.DARK
|
||||
, parsed = AnsiParser.parse(data)
|
||||
, i = 0
|
||||
, c = null
|
||||
@ -65,8 +65,8 @@ switch (process.argv[2]) {
|
||||
|
||||
data = data.replace(/╝|╗/gm, "═$&")
|
||||
data = data.replace(/║$/gm, " $&")
|
||||
if (process.argv.indexOf("--dark") !== -1) {
|
||||
theme = THEMES.DARK;
|
||||
if (process.argv.indexOf("--light") !== -1) {
|
||||
theme = THEMES.LIGHT;
|
||||
}
|
||||
|
||||
data = data.split("");
|
||||
|
Loading…
Reference in New Issue
Block a user