Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding another option for path check #4717

Merged
merged 15 commits into from
Dec 19, 2024
Merged

adding another option for path check #4717

merged 15 commits into from
Dec 19, 2024

Conversation

maimorag
Copy link
Contributor

@maimorag maimorag commented Dec 17, 2024

Related Issues

fixes: None

Description

Images in path Packs/ShiftManagement/doc_files couldn't been access, after adding another option by checking the path with ShiftManagement/doc_files only it managed to find the file- It look like concatenate "/Packs" twice in path_validate.convert

Copy link

Changelog(s) in markdown:

  • Fixed an issue where RM114 failed since it concatenate "/Packs" twice. #4717

@maimorag
Copy link
Contributor Author

Tests::

  1. Packs/ShiftManagement/Playbooks/Assign_Active_Incidents_to_Next_Shift_V2.yml which has existing image:
    /Users/mmorag/dev/demisto/content/Packs/ShiftManagement/doc_files/Assign_Active_Incidents_to_Next_Shift_V2.png
    got:
    All validations passed.

  2. Packs/ShiftManagement/Playbooks/Assign_Active_Incidents_to_Next_Shift_V2.yml which has not existing image:
    /Users/mmorag/dev/demisto/content/Packs/ShiftManagement/doc_files/Assign_Active_Incidents_to_Next_Shift_V2_not_exist.png
    got:
    Packs/ShiftManagement/Playbooks/Assign_Active_Incidents_to_Next_Shift_V2.yml: [RM114] - The following images do not exist or have additional characters present in their declaration within the README: Packs/ShiftManagement/doc_files/Assign_Active_Incidents_to_Next_Shift_V2_not exists.png

@maimorag maimorag requested a review from BEAdi December 18, 2024 08:56
@maimorag maimorag marked this pull request as ready for review December 18, 2024 13:49
@maimorag maimorag requested a review from YuvHayun as a code owner December 18, 2024 13:49
Copy link
Contributor

@BEAdi BEAdi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job!

maimorag and others added 8 commits December 19, 2024 14:57
Co-authored-by: Adi Bamberger Edri <72088126+BEAdi@users.noreply.github.com>
…s_image_exists_in_readme.py

Co-authored-by: Adi Bamberger Edri <72088126+BEAdi@users.noreply.github.com>
@maimorag maimorag merged commit 049548c into master Dec 19, 2024
22 checks passed
@maimorag maimorag deleted the fix_RM114 branch December 19, 2024 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants