From: Angelo Rodrigues Date: Thu, 14 Aug 2025 11:40:15 +0000 (-0400) Subject: fix: typo with extra `:` X-Git-Url: https://git.xangelo.ca/?a=commitdiff_plain;h=b01c8fa6e57f4cd1c77f4dbbac0dbc28341e9abc;p=xangelo.ca.git fix: typo with extra `:` --- 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("-")