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.
This commit is contained in:
Girish Ramakrishnan
2020-11-05 16:07:28 -08:00
parent 02eb362f37
commit 8f78a9dcde

View File

@@ -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';