From 543aead32812df22806a013d2453c26af5657635 Mon Sep 17 00:00:00 2001 From: aminya Date: Mon, 19 Oct 2020 22:45:17 -0500 Subject: [PATCH] Remove excess slice(0) --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index f7cb406..82310ac 100644 --- a/index.js +++ b/index.js @@ -296,7 +296,7 @@ function resolveTargets (targets, all, napi, electronCompat) { } // TODO: also support --lts and get versions from travis else if (all) { - targets = abi.supportedTargets.slice(0) + targets = abi.supportedTargets } // Should be the default once napi is stable