From 54802abcc4a264fc62f1ddaa846f679521850be2 Mon Sep 17 00:00:00 2001 From: LB Johnston Date: Thu, 25 Jan 2024 06:48:58 +1000 Subject: [PATCH] Fix minor duplicate word typos --- client/src/utils/gettext.test.js | 2 +- wagtail/migrations/0048_add_default_workflows.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/utils/gettext.test.js b/client/src/utils/gettext.test.js index 14a677bd79..900924b9df 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 dbb176fedf..7c85abf95b 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)