mirror of
https://github.com/IonicaBizau/git-stats.git
synced 2024-12-22 13:22:11 +01:00
Colored output
This commit is contained in:
parent
0bc0da8e12
commit
c688d6bab5
1 changed files with 5 additions and 7 deletions
12
lib/index.js
12
lib/index.js
|
@ -17,11 +17,11 @@ const STORE_PATH = Ul.USER_DIR + "/.git-stats"
|
|||
, "▣"
|
||||
, "⬛"
|
||||
] : [
|
||||
Couleurs.fg("▣", "#eee")
|
||||
, Couleurs.fg("▣", "#eee")
|
||||
, Couleurs.fg("▣", "#d6e685")
|
||||
, Couleurs.fg("▣", "#8cc665")
|
||||
, Couleurs.fg("▣", "#8cc665")
|
||||
Couleurs.fg("⬚", "#eee")
|
||||
, Couleurs.fg("▢", "#eee")
|
||||
, Couleurs.fg("▢", "#d6e685")
|
||||
, Couleurs.fg("▤", "#8cc665")
|
||||
, Couleurs.fg("▤", "#8cc665")
|
||||
, Couleurs.fg("▣", "#44a340")
|
||||
, Couleurs.fg("▣", "#1e6823")
|
||||
]
|
||||
|
@ -280,8 +280,6 @@ GitStats.ansiCalendar = function (data, callback) {
|
|||
, hAlign: "left"
|
||||
});
|
||||
|
||||
|
||||
|
||||
callback(null, strYear.toString());
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue