From a37edc54b1a0d922886f491379f5a45c237344b5 Mon Sep 17 00:00:00 2001 From: Marc Huffnagle <6790070+marchuffnagle@users.noreply.github.com> Date: Wed, 30 Aug 2023 12:08:36 -0400 Subject: [PATCH] Fix linter errors --- index.js | 2 +- test.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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}/*`;