Switch from Bluebird.each to native version

Change-type: patch
This commit is contained in:
Pagan Gazzard 2020-06-30 21:18:34 +01:00
parent d4f288394b
commit ef9c2e9c18

View File

@ -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}`);
});
}
}
}
}