mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-27 07:01:22 -07:00
Fix when debug commands are run on the wrapper and the wrapper as a file in the current directory
This commit is contained in:
parent
d78ba34cf0
commit
2163a24a12
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ def debug(command, zipped_mod, json_params):
|
||||||
# files you've edited instead of the actual zipped module.
|
# files you've edited instead of the actual zipped module.
|
||||||
|
|
||||||
# Okay to use __file__ here because we're running from a kept file
|
# Okay to use __file__ here because we're running from a kept file
|
||||||
basedir = os.path.dirname(__file__)
|
basedir = os.path.abspath(os.path.dirname(__file__))
|
||||||
if command == 'explode':
|
if command == 'explode':
|
||||||
# transform the ZIPDATA into an exploded directory of code and then
|
# transform the ZIPDATA into an exploded directory of code and then
|
||||||
# print the path to the code. This is an easy way for people to look
|
# print the path to the code. This is an easy way for people to look
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue