Skip to content

Commit da6f875

Browse files
committedApr 24, 2023
test(e2e): fix incorrect boolean flag parsing
1 parent 968d723 commit da6f875

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎playwright.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ function readBoolEnv(flag: string, defaultValue: boolean) {
8989
return defaultValue
9090
}
9191

92-
return flag === 'true' || flag === '1' || flag === 'yes'
92+
return value === 'true' || value === '1' || value === 'yes'
9393
}
9494

9595
/**

0 commit comments

Comments
 (0)
Failed to load comments.