From 27fd5676b48c7ecdb34aa623c8ba029f07abcce5 Mon Sep 17 00:00:00 2001 From: Shusetsu Toda Date: Fri, 3 Aug 2018 14:50:16 +0200 Subject: [PATCH] :recycle: Update filter style --- src/commands/block/get.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/block/get.js b/src/commands/block/get.js index a3f26365..0e01206a 100644 --- a/src/commands/block/get.js +++ b/src/commands/block/get.js @@ -41,7 +41,7 @@ GetCommand.args = [ name: 'blockIds', required: true, description: 'Comma-separated block ID(s) to get information about.', - parse: input => input.split(',').filter(val => val), + parse: input => input.split(',').filter(Boolean), }, ];