From e6c59fc9b0ac53abd7519121d3bff700b1a43c24 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Mon, 8 May 2023 21:42:54 +0300 Subject: [PATCH] Comment out tracing warnings, only to use them when fixing them. Thanks to xet7 ! --- rebuild-wekan.sh | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/rebuild-wekan.sh b/rebuild-wekan.sh index 12403fa00..4af66375c 100755 --- a/rebuild-wekan.sh +++ b/rebuild-wekan.sh @@ -117,7 +117,8 @@ do #Not in use, could increase RAM usage: NODE_OPTIONS="--max_old_space_size=4096" #--------------------------------------------------------------------- # Logging of terminal output to console and to ../wekan-log.txt at end of this line: 2>&1 | tee ../wekan-log.txt - WARN_WHEN_USING_OLD_API=true WRITABLE_PATH=.. NODE_OPTIONS="--trace-warnings" WITH_API=true RICHER_CARD_COMMENT_EDITOR=false ROOT_URL=http://localhost:4000 meteor run --exclude-archs web.browser.legacy,web.cordova --port 4000 2>&1 | tee ../wekan-log.txt + #WARN_WHEN_USING_OLD_API=true NODE_OPTIONS="--trace-warnings" + WRITABLE_PATH=.. WITH_API=true RICHER_CARD_COMMENT_EDITOR=false ROOT_URL=http://localhost:4000 meteor run --exclude-archs web.browser.legacy,web.cordova --port 4000 2>&1 | tee ../wekan-log.txt #--------------------------------------------------------------------- break ;; @@ -126,7 +127,8 @@ do #Not in use, could increase RAM usage: NODE_OPTIONS="--max_old_space_size=4096" #--------------------------------------------------------------------- #Logging of terminal output to console and to ../wekan-log.txt at end of this line: 2>&1 | tee ../wekan-log.txt - WARN_WHEN_USING_OLD_API=true WRITABLE_PATH=.. NODE_OPTIONS="--trace-warnings" WITH_API=true RICHER_CARD_COMMENT_EDITOR=false ROOT_URL=http://localhost:4000 meteor run --exclude-archs web.browser.legacy,web.cordova --port 4000 --extra-packages bundle-visualizer --production 2>&1 | tee ../wekan-log.txt + #WARN_WHEN_USING_OLD_API=true NODE_OPTIONS="--trace-warnings" + WRITABLE_PATH=.. WITH_API=true RICHER_CARD_COMMENT_EDITOR=false ROOT_URL=http://localhost:4000 meteor run --exclude-archs web.browser.legacy,web.cordova --port 4000 --extra-packages bundle-visualizer --production 2>&1 | tee ../wekan-log.txt #--------------------------------------------------------------------- break ;; @@ -142,7 +144,8 @@ do #Not in use, could increase RAM usage: NODE_OPTIONS="--max_old_space_size=4096" #--------------------------------------------------------------------- #Logging of terminal output to console and to ../wekan-log.txt at end of this line: 2>&1 | tee ../wekan-log.txt - WARN_WHEN_USING_OLD_API=true WRITABLE_PATH=.. NODE_OPTIONS="--trace-warnings" WITH_API=true RICHER_CARD_COMMENT_EDITOR=false ROOT_URL=http://$IPADDRESS:4000 meteor run --exclude-archs web.browser.legacy,web.cordova --port 4000 2>&1 | tee ../wekan-log.txt + #WARN_WHEN_USING_OLD_API=true NODE_OPTIONS="--trace-warnings" + WRITABLE_PATH=.. WITH_API=true RICHER_CARD_COMMENT_EDITOR=false ROOT_URL=http://$IPADDRESS:4000 meteor run --exclude-archs web.browser.legacy,web.cordova --port 4000 2>&1 | tee ../wekan-log.txt #--------------------------------------------------------------------- break ;; @@ -158,7 +161,8 @@ do #Not in use, could increase RAM usage: NODE_OPTIONS="--max_old_space_size=4096" #--------------------------------------------------------------------- #Logging of terminal output to console and to ../wekan-log.txt at end of this line: 2>&1 | tee ../wekan-log.txt - WARN_WHEN_USING_OLD_API=true WRITABLE_PATH=.. NODE_OPTIONS="--trace-warnings" WITH_API=true RICHER_CARD_COMMENT_EDITOR=false ROOT_URL=http://$IPADDRESS:$PORT meteor run --exclude-archs web.browser.legacy,web.cordova --port $PORT 2>&1 | tee ../wekan-log.txt + #WARN_WHEN_USING_OLD_API=true NODE_OPTIONS="--trace-warnings" + WRITABLE_PATH=.. WITH_API=true RICHER_CARD_COMMENT_EDITOR=false ROOT_URL=http://$IPADDRESS:$PORT meteor run --exclude-archs web.browser.legacy,web.cordova --port $PORT 2>&1 | tee ../wekan-log.txt #--------------------------------------------------------------------- break ;;