Skip to content

Commit 3b92477

Browse files
authored
Fix missing f in format string
1 parent 2622088 commit 3b92477

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

abx_pkg/binprovider_brew.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def default_abspath_handler(self, bin_name: BinName | HostBinPath, **context) ->
105105
# not all brew-installed binaries are symlinked into the default bin dir (e.g. curl)
106106
# because it might conflict with a system binary of the same name (e.g. /usr/bin/curl)
107107
# so we need to check for the binary in the namespaced opt dir and Cellar paths as well
108-
extra_path = self.PATH.replace('/bin', '/opt/{bin_name}/bin') # e.g. /opt/homebrew/opt/curl/bin/curl
108+
extra_path = self.PATH.replace('/bin', f'/opt/{bin_name}/bin') # e.g. /opt/homebrew/opt/curl/bin/curl
109109
search_paths = f'{self.PATH}:{extra_path}'
110110

111111
# add unlinked Cellar paths,e.g. /opt/homebrew/Cellar/curl/8.10.1/bin

0 commit comments

Comments
 (0)