Title: Fix command normalization when a custom env is passed by taoufik07 · Pull Request #2677 · pre-commit/pre-commit · GitHub
Open Graph Title: Fix command normalization when a custom env is passed by taoufik07 · Pull Request #2677 · pre-commit/pre-commit
X Title: Fix command normalization when a custom env is passed by taoufik07 · Pull Request #2677 · pre-commit/pre-commit
Description: Custom envs can't be passed to normalize_cmd which causes find_executable to default to os.environ -- works as expected when injecting directly os.environ.
Open Graph Description: Custom envs can't be passed to normalize_cmd which causes find_executable to default to os.environ -- works as expected when injecting directly os.environ.
X Description: Custom envs can't be passed to normalize_cmd which causes find_executable to default to os.environ -- works as expected when injecting directly os.environ.
Opengraph URL: https://github.com/pre-commit/pre-commit/pull/2677
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:cba59af5-be64-f699-0dcf-56c0e385dc9c |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8C80:31785:11C382D:19B0014:6A58B8E0 |
| html-safe-nonce | b8b332c6cfd6068bdaa357e144c8d495dd45f5bd3a887e1cfe2b4f64bd46a0fb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QzgwOjMxNzg1OjExQzM4MkQ6MTlCMDAxNDo2QTU4QjhFMCIsInZpc2l0b3JfaWQiOiI2Njg2NTI1MjAxMjUyMzk5MzI4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | d179fafebb67af8198c5fcb59ce590db31ab0bb894ddfcfd58afb9c6874d0d6f |
| hovercard-subject-tag | pull_request:1186471206 |
| github-keyboard-shortcuts | repository,commits,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/pre-commit/pre-commit/pull/2677/files |
| twitter:image | https://avatars.githubusercontent.com/u/22898667?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/22898667?s=400&v=4 |
| og:image:alt | Custom envs can't be passed to normalize_cmd which causes find_executable to default to os.environ -- works as expected when injecting directly os.environ. |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f2a0c7865178af3d91dd9f13b0cdfc3c73a2529c873d2780bb4c01271a57ec6 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/pre-commit/pre-commit git https://github.com/pre-commit/pre-commit.git |
| octolytics-dimension-user_id | 6943086 |
| octolytics-dimension-user_login | pre-commit |
| octolytics-dimension-repository_id | 17689377 |
| octolytics-dimension-repository_nwo | pre-commit/pre-commit |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 17689377 |
| octolytics-dimension-repository_network_root_nwo | pre-commit/pre-commit |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8aae7b8d6caacacf5c66eaeb2702d8dc88d85b4a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width