From 5e42d6cef15ae6f2c7d29ef55a455e8e49b5e76e Mon Sep 17 00:00:00 2001 From: mde Date: Tue, 19 Nov 2019 10:50:00 -0800 Subject: [PATCH] Attempt to restore Node v4 support --- .travis.yml | 1 + postinstall.js | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index dac8d278..2dc12586 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,7 @@ language: node_js sudo: false node_js: + - "4" - "6" - "8" - "10" diff --git a/postinstall.js b/postinstall.js index a1202e0f..7737f220 100755 --- a/postinstall.js +++ b/postinstall.js @@ -1,5 +1,7 @@ #!/usr/bin/env node +'use strict'; + function isTrue(value) { return !!value && value !== '0' && value !== 'false'; }