]> git.wincent.com - wincent.git/commitdiff
chore(fig): get rid of --no-warnings
authorGreg Hurrell <greg@hurrell.net>
Tue, 21 Apr 2020 16:36:52 +0000 (18:36 +0200)
committerGreg Hurrell <greg@hurrell.net>
Tue, 21 Apr 2020 16:36:52 +0000 (18:36 +0200)
No longer needed because Node v14.0.0 just came out:

https://github.com/nodejs/node/pull/31974

bin/common

index 5f9de6f3761be693f58b08f4f573dc7046b7a607..1dbaf9e588ceb9075c30d003b7cec501d5784b84 100755 (executable)
@@ -54,11 +54,6 @@ do
   fi
 done
 
-if [ -z "$DEBUG" ]; then
-  # Avoid: "ExperimentalWarning: The ESM module loader is experimental."
-  export NODE_OPTIONS=--no-warnings
-fi
-
 log_debug() {
   if [[ $LOG_LEVEL -ge $LOG_LEVEL_DEBUG ]]; then
     echo -e "${PURPLE}[debug]  ${RESET} $*" > /dev/stderr