diff --git a/index.js b/index.js index aa2cd13..dd5b8d0 100644 --- a/index.js +++ b/index.js @@ -93,7 +93,7 @@ export async function deleteAsync(patterns, {force, dryRun, cwd = process.cwd(), totalCount: files.length, deletedCount, percent: deletedCount / files.length, - path: file + path: file, }); return file; diff --git a/test.js b/test.js index 95f5a84..a2a5016 100644 --- a/test.js +++ b/test.js @@ -378,12 +378,12 @@ test('onProgress option - progress of single file', async t => { totalCount: 1, deletedCount: 1, percent: 1, - path: t.context.tmp + path: t.context.tmp, }); }); test('onProgress option - progress of multiple files', async t => { - let reports = []; + const reports = []; const sourcePath = process.platform === 'win32' ? path.resolve(`${t.context.tmp}/*`).replace(/\\/g, '/') : `${t.context.tmp}/*`;