mirror of
https://github.com/github/codeql.git
synced 2026-04-26 09:15:12 +02:00
Apply suggestions from code review
Co-authored-by: Chris Smowton <smowton@github.com>
This commit is contained in:
committed by
GitHub
parent
fea50065f5
commit
103c770ce7
@@ -37,7 +37,7 @@ abstract class IsUnixGuard extends Guard { }
|
||||
abstract class IsAnyUnixGuard extends Guard { }
|
||||
|
||||
/**
|
||||
* Holds when the MethodAccess is a call to check the current OS using either the upper case `osUpperCase` or lower case `osLowerCase` string constants.
|
||||
* Holds when `ma` compares the current OS against the string constant `osString`.
|
||||
*/
|
||||
bindingset[osString]
|
||||
private predicate isOsFromSystemProp(MethodAccess ma, string osString) {
|
||||
|
||||
Reference in New Issue
Block a user