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

refactor: Replace subprocess calls with subprocess_check_output #131

Merged
merged 5 commits into from
Nov 14, 2024

Conversation

yangbobo2021
Copy link
Contributor

  • Replaced all instances of subprocess.check_output with subprocess_check_output
  • Added subprocess_check_output function to handle current repo directory
  • Updated git commands to use the new subprocess_check_output function

bobo yang and others added 2 commits November 14, 2024 12:23
- Replaced all instances of subprocess.check_output with subprocess_check_output
- Added subprocess_check_output function to handle current repo directory
- Updated git commands to use the new subprocess_check_output function
- Replaced os.system with subprocess_run for git add command
- Updated import to include subprocess_run from git_api
- Ensured compatibility with existing git operations
Copy link
Collaborator

@kagami-l kagami-l left a comment

Choose a reason for hiding this comment

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

有些抽象很迷惑🤔 不过也不管这么多了

@kagami-l kagami-l added this pull request to the merge queue Nov 14, 2024
Merged via the queue into scripts with commit 6d34ceb Nov 14, 2024
1 check 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