Skip to content

Commit

Permalink
Replace bash hash command with noop to keep script valid.
Browse files Browse the repository at this point in the history
  • Loading branch information
kirkrodrigues committed Dec 31, 2023
1 parent b54169c commit c6a1641
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/core/Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ tasks:
# Remove calls to `hash` since Task uses `gosh` rather than `bash`.
# NOTE: Older versions of Python's venv would only call `hash` if they detected the running
# shell was one that had the command, but that's not the case in newer versions.
- "sed -i 's/^\\s*hash\\s\\+.*//g' \"{{.LINT_VENV_DIR}}/bin/activate\""
- "sed -i 's/^\\s*hash\\s\\+.*/true/g' \"{{.LINT_VENV_DIR}}/bin/activate\""
- |
. "{{.LINT_VENV_DIR}}/bin/activate"
pip3 install --upgrade pip
Expand Down

0 comments on commit c6a1641

Please sign in to comment.