css-colorguard icon indicating copy to clipboard operation
css-colorguard copied to clipboard

Do not display logs with colorguard.process()

Open regseb opened this issue 5 years ago • 0 comments

Hello,

When the API colorguard.process() is called, the results are returned in the promise, but they are also displayed on the standard output:

<input css 1>
  line 5  col 5  #fffffe collides with #ffffff  (2:11)

  ✖  1 collision found.

These messages pollute the console when Colorguard is used by program. The process() method should not write to the console (or add an option to disable it).

regseb avatar Oct 31 '18 10:10 regseb