From 8f78a9dcde588e22929bcd166c55f0ed55bf61d4 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Thu, 5 Nov 2020 16:07:28 -0800 Subject: [PATCH] No need to pass --expose-gc http://sambal.org/2014/02/passing-options-node-shebang-line/ was a cool trick but not needed at all. https://bitbucket.org/chromiumembedded/cef/issues/483/dont-always-add-the-expose-gc-v8-flag says it will change behavior in ways we don't want. --- src/scripts/backupupload.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/scripts/backupupload.js b/src/scripts/backupupload.js index 440d9d26a..ba988a46a 100755 --- a/src/scripts/backupupload.js +++ b/src/scripts/backupupload.js @@ -1,7 +1,4 @@ -#!/bin/bash -':' //# comment; exec /usr/bin/env node --expose-gc "$0" "$@" - -// to understand the above hack read http://sambal.org/2014/02/passing-options-node-shebang-line/ +#!/usr/bin/env node 'use strict';