From b01c8fa6e57f4cd1c77f4dbbac0dbc28341e9abc Mon Sep 17 00:00:00 2001 From: Angelo Rodrigues Date: Thu, 14 Aug 2025 07:40:15 -0400 Subject: [PATCH] fix: typo with extra `:` --- .github/scripts/medium_to_hugo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/medium_to_hugo.py b/.github/scripts/medium_to_hugo.py index f8e5544..c35f008 100644 --- a/.github/scripts/medium_to_hugo.py +++ b/.github/scripts/medium_to_hugo.py @@ -14,7 +14,7 @@ OUTPUT_DIR = "content/posts/medium" EXISTING_SLUGS = {f[:-3] for f in os.listdir(OUTPUT_DIR) if f.endswith(".md")} # default to false, but read from --force flag if it's set -FORCE_REBUILD = len(sys.argv) > 1 and sys.argv[1] == "--force": +FORCE_REBUILD = len(sys.argv) > 1 and sys.argv[1] == "--force" def slugify(title): return re.sub(r"[^\w-]", "", re.sub(r"\s+", "-", title.lower())).strip("-") -- 2.25.1