diff --git a/src/utils/file.ts b/src/utils/file.ts index 47f2327..75dbf2a 100644 --- a/src/utils/file.ts +++ b/src/utils/file.ts @@ -28,7 +28,7 @@ export async function exists(file: string): Promise { await ensure.rejection(() => { return new Promise((resolve, reject) => { fs.access(file, fs.constants.F_OK, (err) => { - return err ? reject(Error(`${file} doesn't exist`)) : resolve(file); + return err ? reject(Error(`${file} doesn't exist`)) : resolve(); }); }); });