Skip to content

Commit d24eeb2

Browse files
committed
[INTERNAL] Fix eslint error
1 parent 58a0003 commit d24eeb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/translators/npm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class NpmTranslator {
3838
// https://github.com/npm/normalize-package-data#what-normalization-currently-entails
3939
// Note: optionalDependencies are treated the same as devDependencies in the npm translator
4040
if (pkg.optionalDependencies) {
41-
for (let depName in pkg.optionalDependencies) {
41+
for (const depName in pkg.optionalDependencies) {
4242
if (pkg.optionalDependencies.hasOwnProperty(depName)) {
4343
// Remove entry from "hard" dependencies map
4444
if (dependencies[depName]) {

0 commit comments

Comments
 (0)