reformat for new Prettier version

master
Conduitry 3 months ago
parent f7f62d3902
commit 784ab0d87e
  1. 4
      src/Defiler.ts

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

Loading…
Cancel
Save