twosigma / git-meta

Repository for the git-meta project -- build your own monorepo using Git submodules
http://twosigma.github.io/git-meta
BSD 3-Clause "New" or "Revised" License
216 stars 50 forks source link

Add color.status config support to address #713 #851

Open clsater opened 2 years ago

clsater commented 2 years ago

I just added support for color.status but it probably would make sense to add support for other git meta commands besides status. But this PR is big enough as is, so I'll leave that for a future change.

clsater commented 2 years ago

hmm... not sure why that test is failing on the CI server -- it works when I run locally.

  1) ColorHandler
       colors
         enableColor = 'auto'
           adds colors if enableColor:

      AssertionError: expected '\u001b[34mtest\u001b[39m' to equal 'test'
      + expected - actual

      -test
      +test

      at Context.<anonymous> (test/util/color_handler.js:29:24)
      at processImmediate (node:internal/timers:464:21)

Are colors somehow disabled during the CI build?