fix: prettyfying things
Signed-off-by: Sayak Mukhopadhyay <mukhopadhyaysayak@gmail.com>
This commit is contained in:
@@ -290,8 +290,8 @@ export class ConfigReader implements Config {
|
||||
if (typeof value === 'boolean' || value === undefined) {
|
||||
return value;
|
||||
}
|
||||
const valueString = String(value).trim();
|
||||
|
||||
const valueString = String(value).trim();
|
||||
|
||||
if (/^(?:y|yes|true|1|on)$/i.test(valueString)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user