mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
63f10b9f0d
It was possible that this warning ends up in an infinite recursion. The reason is that printing the warning triggered a color check and that triggered another warning. Limiting it to a single warning prevents this. PR-URL: https://github.com/nodejs/node/pull/31429 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
10 lines
152 B
JavaScript
10 lines
152 B
JavaScript
'use strict';
|
|
|
|
require('../common');
|
|
|
|
process.env.NO_COLOR = '1';
|
|
process.env.NODE_DISABLE_COLORS = '1';
|
|
process.env.FORCE_COLOR = '3';
|
|
|
|
console.log();
|