Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
Update src/packages/options/src/create.ts
Browse files Browse the repository at this point in the history
Co-authored-by: jeffsmale90 <[email protected]>
  • Loading branch information
davidmurdoch and jeffsmale90 authored Jun 20, 2023
1 parent b6b6532 commit 183562f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/packages/options/src/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,7 @@ function fill(options: any, target: any, def: any, namespace: any) {
}
}
} else {
for (let i = 0, l = entries.length; i < l; i++) {
const entry = entries[i];
const key = entry[0];
const propDefinition = entry[1];
for (const [key, propDefinition] of entries) {

const legacyName = propDefinition.legacyName || key;
const value = options[legacyName];
Expand Down

0 comments on commit 183562f

Please sign in to comment.