Skip to content

Commit

Permalink
input: fix scmOverrides regression
Browse files Browse the repository at this point in the history
The "set" property of an scmOverrides is a map of keys and their new
values. Commit 790c1be accidentally changed its schema so that it
accepted anything instead of only a map of strings to arbitrary values.

Fixes #497.
  • Loading branch information
jkloetzke committed Dec 2, 2022
1 parent e6fe6bd commit 335299b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pym/bob/input.py
Original file line number Diff line number Diff line change
Expand Up @@ -3139,7 +3139,7 @@ def updateWhiteList(x):
schema.Optional('if') : schema.Or(str, IfExpression),
schema.Optional('match') : schema.Schema({ str: object }),
schema.Optional('del') : [str],
schema.Optional('set') : object,
schema.Optional('set') : schema.Schema({ str: object }),
schema.Optional('replace') : schema.Schema({
str : schema.Schema({
'pattern' : str,
Expand Down

0 comments on commit 335299b

Please sign in to comment.