Get rid of redundant variables.
This commit is contained in:
+1
-4
@@ -26,8 +26,5 @@ export function readConfigFile(
|
||||
}
|
||||
}
|
||||
|
||||
const values = YAML.parse(data)
|
||||
const parsed = ConfigurationOptionsSchema.parse(values)
|
||||
|
||||
return parsed
|
||||
return ConfigurationOptionsSchema.parse(YAML.parse(data))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user