From 9b151b2316a5343f6cb4a544652c91975870771c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Mon, 16 Sep 2019 23:22:10 -0400 Subject: [PATCH] fix: remove dupe code --- src/widgets/index.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/widgets/index.js b/src/widgets/index.js index 012b3f2bb0..87a285e483 100644 --- a/src/widgets/index.js +++ b/src/widgets/index.js @@ -1,6 +1,5 @@ 'use strict'; -const async = require('async'); const winston = require('winston'); const _ = require('lodash'); const Benchpress = require('benchpressjs'); @@ -201,7 +200,6 @@ widgets.resetTemplate = async function (template) { }; widgets.resetTemplates = async function (templates) { - async.eachSeries(templates, widgets.resetTemplate); for (const template of templates) { /* eslint-disable no-await-in-loop */ await widgets.resetTemplate(template);