Skip to content

Commit

Permalink
and the other case
Browse files Browse the repository at this point in the history
  • Loading branch information
branfosj authored Dec 11, 2024
1 parent 8d71fca commit 795bb13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion easybuild/tools/modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -1367,7 +1367,7 @@ def check_module_function(self, allow_mismatch=False, regex=None):
out, ec = None, 1
else:
cmd = "type _module_raw"
res = run_shell_cmd(cmd, fail_on_error=False, in_dry_run=False, hidden=True, output_file=False)
res = run_shell_cmd(cmd, fail_on_error=False, in_dry_run=True, hidden=True, output_file=False)
out, ec = res.output, res.exit_code

if regex is None:
Expand Down

0 comments on commit 795bb13

Please sign in to comment.