mirror of
https://github.com/github/codeql.git
synced 2026-04-30 03:05:15 +02:00
Update shared/yaml/codeql/serverless/ServerLess.qll
Co-authored-by: Alex Ford <alexrford@users.noreply.github.com>
This commit is contained in:
@@ -63,6 +63,7 @@ module ServerLess<Input I> {
|
||||
* the empty string if it does not.
|
||||
*/
|
||||
pragma[inline]
|
||||
bindingset[property]
|
||||
private string lookupValueOrEmpty(YamlMapping mapping, string property) {
|
||||
if exists(mapping.lookup(property))
|
||||
then result = mapping.lookup(property).(YamlScalar).getValue()
|
||||
|
||||
Reference in New Issue
Block a user