From 229f04ba358b3485fa7952088e03dad9e651bb23 Mon Sep 17 00:00:00 2001 From: Cashew <52880648+Scrub1492@users.noreply.github.com> Date: Wed, 20 Dec 2023 21:36:27 +0900 Subject: rename variables (#409) * rename variables * add comment to ambiguous variable * rename variables * add comments * rename functions --- dev/manifest-util.js | 1 + 1 file changed, 1 insertion(+) (limited to 'dev') diff --git a/dev/manifest-util.js b/dev/manifest-util.js index e4487035..42872a40 100644 --- a/dev/manifest-util.js +++ b/dev/manifest-util.js @@ -127,6 +127,7 @@ export class ManifestUtil { _applyModifications(manifest, modifications) { if (Array.isArray(modifications)) { for (const modification of modifications) { + // rename to path2 to avoid clashing with imported `node:path` module. const {action, path: path2} = modification; switch (action) { case 'set': -- cgit v1.2.3