reformat for new Prettier version

This commit is contained in:
Conduitry 2022-08-28 06:02:29 -04:00
parent f7f62d3902
commit 784ab0d87e
1 changed files with 3 additions and 1 deletions

View File

@ -99,7 +99,9 @@ export default class Defiler {
watcher.on('', (event) => this._enqueue(watcher, event));
// note that all files are pending transformation
await Promise.all(
(await watcher.init()).map(async (file) => {
(
await watcher.init()
).map(async (file) => {
const { path } = file;
if (watcher.pre) {
await watcher.pre(file);