diff --git a/client/src/utils/gettext.test.js b/client/src/utils/gettext.test.js index 14a677bd793f..900924b9df16 100644 --- a/client/src/utils/gettext.test.js +++ b/client/src/utils/gettext.test.js @@ -70,7 +70,7 @@ describe('gettextNoop', () => { }); describe('pluralIdx', () => { - it('should return false if if Django pluralidx is not loaded', () => { + it('should return false if Django pluralidx is not loaded', () => { expect(pluralIdx(3)).toEqual(false); }); diff --git a/wagtail/migrations/0048_add_default_workflows.py b/wagtail/migrations/0048_add_default_workflows.py index dbb176fedf41..7c85abf95bfb 100644 --- a/wagtail/migrations/0048_add_default_workflows.py +++ b/wagtail/migrations/0048_add_default_workflows.py @@ -62,7 +62,7 @@ def create_default_workflows(apps, schema_editor): ) task.groups.set(groups) - # get a Workflow containing only this task if if exists, otherwise create it + # get a Workflow containing only this task if it exists, otherwise create it workflow = ( Workflow.objects.annotate(task_number=Count("workflow_tasks")) .filter(task_number=1)