Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion contentctl/actions/release_notes.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import re
import yaml
import pathlib
from os import path
from typing import List, Union


Expand Down Expand Up @@ -229,7 +230,7 @@ def release_notes(self, config: release_notes) -> None:
file_path = pathlib.Path(diff.a_path)

# Check if the file is in the specified directories
if any(str(file_path).startswith(directory) for directory in directories):
if any(str(file_path).startswith(path.normpath(directory)) for directory in directories):
# Check if a file is Modified
if diff.change_type == "M":
modified_files.append(file_path)
Expand Down
Loading