mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-01-18 18:56:25 +00:00
Switch from Bluebird.each to native version
Change-type: patch
This commit is contained in:
parent
d4f288394b
commit
ef9c2e9c18
@ -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}`);
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user