diff --git a/bench/recursive-copy/run.js b/bench/recursive-copy/run.js index ab12258004..58c59bd896 100644 --- a/bench/recursive-copy/run.js +++ b/bench/recursive-copy/run.js @@ -12,7 +12,7 @@ const createSrcFolder = async () => { const files = new Array(100) .fill(undefined) - .map((x, i) => + .map((_, i) => join(srcDir, `folder${i % 5}`, `folder${i + (1 % 5)}`, `file${i}`) ) diff --git a/scripts/publish-native.js b/scripts/publish-native.js index d96d0bb8e4..57aa40f75e 100755 --- a/scripts/publish-native.js +++ b/scripts/publish-native.js @@ -70,7 +70,7 @@ const cwd = process.cwd() } finally { publishSema.release() } - // lerna publish in next step sill fail if git status is not clean + // lerna publish in next step will fail if git status is not clean await execa( `git`, [