Skip to content

Commit 6b52c95

Browse files
committed
change to use super() method,
so the inherited method will use GitBash.name(), via cls.name() to access config settings in rez.shells.Shell.find_executable() Signed-off-by: george.ridal <[email protected]>
1 parent 2933636 commit 6b52c95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rezplugins/shell/gitbash.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def executable_name(cls):
3737

3838
@classmethod
3939
def find_executable(cls, name, check_syspaths=False):
40-
exepath = Bash.find_executable(name, check_syspaths=check_syspaths)
40+
exepath = super(GitBash, cls).find_executable(name, check_syspaths=check_syspaths)
4141

4242
if exepath and "system32" in exepath.lower():
4343
print_warning(

0 commit comments

Comments
 (0)