Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(volta): Make volta_deactivate.sh more portable
### Issues addressed I've been getting an issue locally when running volta via lefthook. Specifically, I'd see an error like this: ``` $ git commit -am Test .git/hooks/post-checkout: 13: /home/topher/miniforge3/envs/memfault/etc/conda/deactivate.d/volta_deactivate.sh: Bad substitution ERROR: Command failed with error exit code 1: ``` I tracked the issue down to non-portable bash-specific handling. ### Summary of changes I _think_ adding the shebang (`#!/bin/bash`) _should_ have been sufficient here to get my local machine working, however this had no impact. I'm not going to spend a ton of time debugging this; I re-wrote it to be more portable and avoid the problematic field. ### Test Plan - [x] I can now run `git commit` without error
- Loading branch information