diff options
Diffstat (limited to 'src/util/io.js')
-rw-r--r-- | src/util/io.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/util/io.js b/src/util/io.js index 6ea1e221..5c1ab240 100644 --- a/src/util/io.js +++ b/src/util/io.js @@ -1,14 +1,14 @@ -// @format -// +/** @format */ + // Utility functions for interacting with files and other external data // interfacey constructs. -import { readdir } from "fs/promises"; -import * as path from "path"; +import {readdir} from 'fs/promises'; +import * as path from 'path'; export async function findFiles( dataPath, - { filter = (f) => true, joinParentDirectory = true } = {} + {filter = (f) => true, joinParentDirectory = true} = {} ) { return (await readdir(dataPath)) .filter((file) => filter(file)) |