Skip to content

Commit d6cc11a

Browse files
aminyasadick254
andauthored
Rename packagePaths to packageNames
Co-authored-by: Sadick <[email protected]>
1 parent 6ef38f3 commit d6cc11a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/package-manager.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -419,12 +419,12 @@ module.exports = class PackageManager {
419419

420420
for (const packageDirPath of this.packageDirPaths) {
421421
if (fs.isDirectorySync(packageDirPath)) {
422-
const packagePaths = fs
422+
const packageNames = fs
423423
.readdirSync(packageDirPath, { withFileTypes: true })
424424
.filter(dirent => dirent.isDirectory())
425425
.map(dirent => dirent.name);
426426

427-
for (const packageName of packagePaths) {
427+
for (const packageName of packageNames) {
428428
if (
429429
!packageName.startsWith('.') &&
430430
!packagesByName.has(packageName)

0 commit comments

Comments
 (0)