Skip to content

Commit

Permalink
Update src/util.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Henry Mercer <[email protected]>
  • Loading branch information
angelapwen and henrymercer authored Aug 23, 2024
1 parent bd123c8 commit 1570300
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1122,7 +1122,7 @@ export async function checkSipEnablement(
): Promise<boolean | undefined> {
if (
process.env[EnvVar.IS_SIP_ENABLED] !== undefined &&
process.env[EnvVar.IS_SIP_ENABLED] in ["true", "false"]
["true", "false"].includes(process.env[EnvVar.IS_SIP_ENABLED])
) {
return process.env[EnvVar.IS_SIP_ENABLED] === "true";
}
Expand Down

0 comments on commit 1570300

Please sign in to comment.