Skip to content

Commit 43effd2

Browse files
yoffRasmusWL
andauthored
Update python/ql/src/semmle/python/functions/ModificationOfParameterWithDefault.qll
Co-authored-by: Rasmus Wriedt Larsen <[email protected]>
1 parent e8644f6 commit 43effd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/ql/src/semmle/python/functions/ModificationOfParameterWithDefault.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ module ModificationOfParameterWithDefault {
3636
override predicate isBarrier(DataFlow::Node node) { node instanceof Barrier }
3737

3838
override predicate isBarrierGuard(DataFlow::BarrierGuard guard) {
39-
// if we are tracking a emmpty default, then we should not modify falsy values
39+
// if we are tracking a empty default, then we should not modify falsey values
4040
nonEmptyDefault = false and guard instanceof BlocksFalsey
4141
or
4242
// if we are tracking a non-empty default, then we should not modify truthy values

0 commit comments

Comments
 (0)