@@ -38,7 +38,7 @@ const schemaValidator = ajv.compile(ConfigSchema) as ValidateFunction;
3838const defaultFile = "wot-servient.conf.json" ;
3939const baseDir = "." ;
4040
41- const dotEnvConfigParamters : DotEnvConfigParameter = { } ;
41+ const dotEnvConfigParameters : DotEnvConfigParameter = { } ;
4242
4343// General commands
4444program
@@ -175,7 +175,7 @@ function parseConfigParams(param: string, previous: unknown) {
175175 . join ( "\n" ) } `
176176 ) ;
177177 }
178- // Concatenate validated paramters
178+ // Concatenate validated parameters
179179 let result = previous ?? { } ;
180180 result = _ . merge ( result , obj ) ;
181181 return result ;
@@ -220,7 +220,7 @@ if (errorNoException?.code !== "ENOENT") {
220220 for ( const [ key , value ] of Object . entries ( env . parsed ) ) {
221221 // Parse and validate on configfile-related entries
222222 if ( key . startsWith ( "config." ) ) {
223- dotEnvConfigParamters [ key . replace ( "config." , "" ) ] = value ;
223+ dotEnvConfigParameters [ key . replace ( "config." , "" ) ] = value ;
224224 }
225225 }
226226}
@@ -238,7 +238,7 @@ async function buildConfig(): Promise<unknown> {
238238 }
239239
240240 // .env file
241- for ( const [ key , value ] of Object . entries ( dotEnvConfigParamters ) ) {
241+ for ( const [ key , value ] of Object . entries ( dotEnvConfigParameters ) ) {
242242 const obj = _ . set ( { } , key , value ) ;
243243 configFileData = _ . merge ( configFileData , obj ) ;
244244 }
0 commit comments