@@ -42,7 +42,7 @@ function generateConfigJsonSchema() {
4242 const envOptionsMap = getEnvOptionsInputType ( ) ;
4343 const namespaceOptionsMap = getNamespaceOptionsInputType ( ) ;
4444
45- function createPropertyForType ( key , type ) {
45+ function createPropertyForType ( type ) {
4646 if ( type === 'array' ) {
4747 return {
4848 __proto__ : null ,
@@ -83,7 +83,7 @@ function generateConfigJsonSchema() {
8383 // Add env options to nodeOptions (backward compatibility)
8484 for ( const { 0 : key , 1 : type } of envOptionsMap ) {
8585 const keyWithoutPrefix = StringPrototypeReplace ( key , '--' , '' ) ;
86- nodeOptions [ keyWithoutPrefix ] = createPropertyForType ( key , type ) ;
86+ nodeOptions [ keyWithoutPrefix ] = createPropertyForType ( type ) ;
8787 }
8888
8989 // Add namespace properties at the root level
@@ -101,7 +101,7 @@ function generateConfigJsonSchema() {
101101 // Add all options for this namespace
102102 for ( const { 0 : optionName , 1 : optionType } of optionsMap ) {
103103 const keyWithoutPrefix = StringPrototypeReplace ( optionName , '--' , '' ) ;
104- namespaceProperties [ keyWithoutPrefix ] = createPropertyForType ( optionName , optionType ) ;
104+ namespaceProperties [ keyWithoutPrefix ] = createPropertyForType ( optionType ) ;
105105 }
106106
107107 // Sort the namespace properties alphabetically
0 commit comments