Skip to content

Commit ae1a06f

Browse files
Merge pull request #896 from Muuhh-CTJ/fix-format-strings
Fix hint conditions of format-strings.js
2 parents 826e033 + ec29a75 commit ae1a06f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/labs/format-strings.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ info =
55
{
66
hints: [
77
{
8-
present: String.raw`def format_event \( user_input
8+
present: String.raw`def format_event \( user_format
99
`,
1010
text: "The `user_format` should no longer be used, so we should remove it from the list of parameters being passed into the function being defined by `def`. The first line should read `def format_event(new_event):`",
1111
},
1212
{
13-
present: "user_input",
13+
present: "user_format",
1414
text: "Do not support a user-provided format at all. In this case there is no need for it.",
1515
},
1616
{

0 commit comments

Comments
 (0)