Skip to content

Commit

Permalink
Get rid of redundant variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
Federico Builes committed Jun 6, 2022
1 parent 30c4549 commit 8c646c1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}

0 comments on commit 8c646c1

Please sign in to comment.