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

bugFix: test endpoint #266

Merged
merged 2 commits into from
Aug 4, 2024
Merged

Conversation

Cyberguru1
Copy link
Contributor

@Cyberguru1 Cyberguru1 commented Aug 4, 2024

Description

This PR updates the path to the Python script file from a Windows path style to a Linux path style. This change was necessary to ensure compatibility with the Linux-based deployment environment.

The original Windows-style path:

	cmd := exec.Command("python", "scripts\\compare_test.py")

has been changed to the Linux-style path:

	cmd := exec.Command("python", "scripts/compare_test.py")

This change ensures that the script can be executed correctly in a Linux environment, where the backslashes used in Windows paths can cause errors.

Reference PR: PR-260

How Has This Been Tested?

The change was tested by running the script on a Linux environment. The following steps were taken to verify the change:

  1. Updated the script path in the code.
  2. Executed the script using the updated path.
  3. Confirmed that the script runs without errors.
  4. Verified that the script performs its intended functionality.

Screenshots (if appropriate - Postman, etc):

image
image

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@Cyberguru1 Cyberguru1 changed the title Fix: test endpoint bugFix: test endpoint Aug 4, 2024
@Cyberguru1 Cyberguru1 self-assigned this Aug 4, 2024
Copy link
Contributor

@Micah-Shallom Micah-Shallom left a comment

Choose a reason for hiding this comment

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

lgtm

@Micah-Shallom Micah-Shallom merged commit 6769d2a into hngprojects:dev Aug 4, 2024
4 checks passed
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