From ef9c2e9c187a3dd84a17dd334f4282742d9c3979 Mon Sep 17 00:00:00 2001 From: Pagan Gazzard Date: Tue, 30 Jun 2020 21:18:34 +0100 Subject: [PATCH] Switch from Bluebird.each to native version Change-type: patch --- lib/actions-oclif/os/configure.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/actions-oclif/os/configure.ts b/lib/actions-oclif/os/configure.ts index 9e25f2e6..25fd393d 100644 --- a/lib/actions-oclif/os/configure.ts +++ b/lib/actions-oclif/os/configure.ts @@ -275,7 +275,7 @@ export default class OsConfigureCmd extends Command { }), ); - await Bluebird.each(files, async ({ name, content }) => { + for (const { name, content } of files) { await imagefs.writeFile( { image, @@ -285,7 +285,7 @@ export default class OsConfigureCmd extends Command { content, ); console.info(`Copied system-connection file: ${name}`); - }); + } } } }