]> git.wincent.com - wincent.git/commit
feat(fig): suppress ExperimentalWarning
authorGreg Hurrell <greg@hurrell.net>
Wed, 8 Apr 2020 22:37:52 +0000 (00:37 +0200)
committerGreg Hurrell <greg@hurrell.net>
Wed, 8 Apr 2020 22:37:52 +0000 (00:37 +0200)
commit1051dbeb7f9d0fe77e125d77d61e12224bf501d7
treeba8682d35d5447b2159e2244ac3971199f7c61b6
parent93cca73d6cc78d1bec18513596a919677f94867c
feat(fig): suppress ExperimentalWarning

In the absence of something like the feature proposed here:

    https://github.com/nodejs/node/issues/30810

Let's just take the heavy-handed approach of suppressing all warnings
unless `--debug` is in effect. Keeps ugly:

    (node:19198) ExperimentalWarning: The ESM module loader is experimental.

out of the console. Will rip this all out once it moves out of
experimental status.
bin/common