From 8e31b4dcf4a88fa1eecbc1f1769e3d25dca290a5 Mon Sep 17 00:00:00 2001 From: Richard Moore Date: Sat, 14 May 2022 01:21:44 -0400 Subject: [PATCH] docs: fix type in comments of admin tools (#2981). --- misc/admin/lib/cmds/link.js | 2 +- misc/admin/src.ts/cmds/link.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/misc/admin/lib/cmds/link.js b/misc/admin/lib/cmds/link.js index f5608aadb..3d00a245b 100644 --- a/misc/admin/lib/cmds/link.js +++ b/misc/admin/lib/cmds/link.js @@ -41,7 +41,7 @@ function link(existing, path) { return __awaiter(this, void 0, void 0, function* () { console.log(log_1.colorify.bold(`Linking ${path_2.packages.length} package node_modules rat nests...`)); const nodeModulesBase = (0, path_1.resolve)(path_2.dirs.root, ".package_node_modules"); - // Make a symlink in the ROOT/node_mpdules to each package in this repo + // Make a symlink in the ROOT/node_modules to each package in this repo path_2.packages.forEach((name) => { // e.g. /node_modules/@ethersproject/abi => /packages/abi link((0, path_2.getPackagePath)(name), (0, path_1.resolve)(path_2.dirs.root, "node_modules", name)); diff --git a/misc/admin/src.ts/cmds/link.ts b/misc/admin/src.ts/cmds/link.ts index 9d7809e90..5e49a151c 100644 --- a/misc/admin/src.ts/cmds/link.ts +++ b/misc/admin/src.ts/cmds/link.ts @@ -29,7 +29,7 @@ function link(existing: string, path: string): void { const nodeModulesBase = resolve(dirs.root, ".package_node_modules"); - // Make a symlink in the ROOT/node_mpdules to each package in this repo + // Make a symlink in the ROOT/node_modules to each package in this repo packages.forEach((name) => { // e.g. /node_modules/@ethersproject/abi => /packages/abi