From 273d7748222d1d441de0519cce82993221eb2d17 Mon Sep 17 00:00:00 2001 From: Josh Woodcock Date: Thu, 17 Sep 2020 10:37:47 -0500 Subject: [PATCH] fix: respect env.OPENCOLLECTIVE_HIDE (#1765) Co-authored-by: Josh Woodcock --- bin/postinstall.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/postinstall.js b/bin/postinstall.js index 70d2a255..c5c35ea7 100755 --- a/bin/postinstall.js +++ b/bin/postinstall.js @@ -1,7 +1,7 @@ #!/usr/bin/env node function main() { - if (process.env.SUPPRESS_SUPPORT) { + if (process.env.SUPPRESS_SUPPORT || process.env.OPENCOLLECTIVE_HIDE) { return; }