From 8f2b569b96245d9dd003e428fcc8ed5a0fce7d74 Mon Sep 17 00:00:00 2001 From: Kanad Gupta Date: Thu, 14 Sep 2023 18:04:43 -0500 Subject: [PATCH] fix: hide `ExperimentalWarning` --- bin/rdme.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/rdme.js b/bin/rdme.js index eba9ca571..c2f787a46 100755 --- a/bin/rdme.js +++ b/bin/rdme.js @@ -1,3 +1,5 @@ -#!/usr/bin/env node +#!/usr/bin/env NODE_OPTIONS=--no-warnings node +// ^ we need this env variable above to hide the ExperimentalWarnings +// source: https://github.com/nodejs/node/issues/10802#issuecomment-573376999 // eslint-disable-next-line import/extensions import '../dist/src/cli.js';