We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12b2db5 commit 50bfad6Copy full SHA for 50bfad6
tools/reckless
@@ -1398,13 +1398,13 @@ def install(plugin_name: str) -> Union[str, None]:
1398
src = None
1399
if direct_location:
1400
logging.debug(f"install of {name} requested from {direct_location}")
1401
- src = InstInfo(name, direct_location, None)
1402
- if not src.get_inst_details():
1403
- src = None
+ src = InstInfo(name, direct_location, name)
1404
# Treating a local git repo as a directory allows testing
1405
# uncommitted changes.
1406
if src and src.srctype == Source.LOCAL_REPO:
1407
src.srctype = Source.DIRECTORY
+ if not src.get_inst_details():
+ src = None
1408
if not direct_location or not src:
1409
log.debug(f"Searching for {name}")
1410
if search(name):
0 commit comments