Skip to content

Commit 1570300

Browse files
Update src/util.ts
Co-authored-by: Henry Mercer <[email protected]>
1 parent bd123c8 commit 1570300

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1122,7 +1122,7 @@ export async function checkSipEnablement(
11221122
): Promise<boolean | undefined> {
11231123
if (
11241124
process.env[EnvVar.IS_SIP_ENABLED] !== undefined &&
1125-
process.env[EnvVar.IS_SIP_ENABLED] in ["true", "false"]
1125+
["true", "false"].includes(process.env[EnvVar.IS_SIP_ENABLED])
11261126
) {
11271127
return process.env[EnvVar.IS_SIP_ENABLED] === "true";
11281128
}

0 commit comments

Comments
 (0)