| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| Expand Up | @@ -23,9 +23,18 @@ def run_hook( | |
| require_serial: bool, | ||
| color: bool, | ||
| ) -> tuple[int, bytes]: # pragma: win32 no cover | ||
| cmd = docker_cmd(color=color) + lang_base.hook_cmd(entry, args) | ||
| cmd = lang_base.hook_cmd(entry, args) | ||
|
|
||
| # To prevent duplicate simultaneous image pull attempts in `run_xargs`, we | ||
| # try to precache the Docker image by pulling it here first | ||
| try: | ||
| image_name = cmd[2 if cmd[0] == '--entrypoint' else 0] | ||
| lang_base.setup_cmd(prefix, ('docker', 'pull', image_name)) | ||
| except Exception: | ||
| pass | ||
|
Comment thread
Comment on lines
+33
to
+34
Copy link
Copy Markdown
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality? this is never acceptable
Sorry, something went wrong.
All reactions
|
||
|
|
||
| return lang_base.run_xargs( | ||
| cmd, | ||
| docker_cmd(color=color) + cmd, | ||
| file_args, | ||
| require_serial=require_serial, | ||
| color=color, | ||
| Expand Down | ||
| Back | FazBrowse Home | New Git URL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Qualitythis won't work reliably at all
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.