qs_cfn_lint_rules/stack/StackHelper.py [325:339]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    )

    # Get rid of any "//"
    child_template_path_tmp = os.path.normpath(child_template_path)

    # Take the path piece by piece and try in current folder
    while "/" in str(child_template_path_tmp):
        child_template_path_tmp = remove_one_level(child_template_path_tmp)
        final_template_path = Path(
            "/".join(
                [str(project_root), str(child_template_path_tmp)]
            )
        )
        if final_template_path.exists() and final_template_path.is_file():
            return str(final_template_path)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



qs_cfn_lint_rules/stack/StackHelper.py [346:358]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    )
    # Get rid of any "//"
    child_template_path_tmp = os.path.normpath(child_template_path)

    while "/" in str(child_template_path_tmp):
        child_template_path_tmp = remove_one_level(child_template_path_tmp)
        final_template_path = Path(
            "/".join(
                [str(project_root), str(child_template_path_tmp)]
            )
        )
        if final_template_path.exists() and final_template_path.is_file():
            return str(final_template_path)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



