* update deps

* changelog

* allow 'y' as yes values
This commit is contained in:
2022-11-28 02:12:08 +01:00
committed by GitHub
parent 04b3acc509
commit 02c27afd29
4 changed files with 32 additions and 22 deletions

View File

@@ -22,7 +22,7 @@ function getEnv<T>(
function parseBoolean(value: string): boolean {
value = value.toLowerCase()
const truthy = ['true', 'yes', '1']
const truthy = ['true', 'yes', '1', 'y']
return truthy.includes(value)
}