mirror of
https://github.com/IonicaBizau/git-stats.git
synced 2024-12-22 21:32:10 +01:00
Default theme: light
This commit is contained in:
parent
3c784df224
commit
ae8f2b8db2
1 changed files with 3 additions and 3 deletions
|
@ -56,7 +56,7 @@ switch (process.argv[2]) {
|
||||||
if (err) throw err;
|
if (err) throw err;
|
||||||
data = AnsiParser.removeAnsi(data);
|
data = AnsiParser.removeAnsi(data);
|
||||||
if (process.argv.indexOf("--no-ansi") === -1) {
|
if (process.argv.indexOf("--no-ansi") === -1) {
|
||||||
var theme = THEMES.LIGHT
|
var theme = THEMES.DARK
|
||||||
, parsed = AnsiParser.parse(data)
|
, parsed = AnsiParser.parse(data)
|
||||||
, i = 0
|
, i = 0
|
||||||
, c = null
|
, c = null
|
||||||
|
@ -65,8 +65,8 @@ switch (process.argv[2]) {
|
||||||
|
|
||||||
data = data.replace(/╝|╗/gm, "═$&")
|
data = data.replace(/╝|╗/gm, "═$&")
|
||||||
data = data.replace(/║$/gm, " $&")
|
data = data.replace(/║$/gm, " $&")
|
||||||
if (process.argv.indexOf("--dark") !== -1) {
|
if (process.argv.indexOf("--light") !== -1) {
|
||||||
theme = THEMES.DARK;
|
theme = THEMES.LIGHT;
|
||||||
}
|
}
|
||||||
|
|
||||||
data = data.split("");
|
data = data.split("");
|
||||||
|
|
Loading…
Reference in a new issue