Skip to content

Commit bf25458

Browse files
committed
[ui5-project][INTERNAL] Fix eslint error
1 parent c1e86ac commit bf25458

File tree

1 file changed

+1
-1
lines changed
  • packages/project/lib/translators

1 file changed

+1
-1
lines changed

packages/project/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)