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 da6116d commit b6b6532
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 @@ -45,10 +45,7 @@ function fill(options: any, target: any, def: any, namespace: any) {
if (hasOwn(options, namespace)) {
const namespaceOptions = options[namespace];

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) {
let value = namespaceOptions[key];
if (value !== undefined) {
const normalized = propDefinition.normalize(value);
Expand Down

0 comments on commit b6b6532

Please sign in to comment.