From a6d69918fc1fb4ec25d5717b2fd6749e0d16d589 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=CC=81rgio=20Ramos?= Date: Tue, 19 Sep 2017 11:16:59 +0100 Subject: [PATCH] style: format --- scripts/format | 2 +- scripts/run-staged-pkg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/format b/scripts/format index bc9f8697..c8c105d0 100755 --- a/scripts/format +++ b/scripts/format @@ -120,7 +120,7 @@ const staged = async () => { const existing = await asyncFilter( files, - async ({ filename }) => await exists(filename) + ({ filename }) => exists(filename) ); if (!existing.length) { diff --git a/scripts/run-staged-pkg b/scripts/run-staged-pkg index b5a3c2b0..b4772c84 100755 --- a/scripts/run-staged-pkg +++ b/scripts/run-staged-pkg @@ -68,7 +68,7 @@ const runLintAndGitAdd = async (staged, pkgs) => { const existing = await asyncFilter( staged, - async ({ filename }) => await exists(filename) + ({ filename }) => exists(filename) ); const checksums = await map(existing, async file => {