未验证 提交 76a02fa7 编写于 作者: S Steffy-zxf 提交者: GitHub

fix cmd show the specific module diretory (#426)

上级 3a7eefc7
......@@ -127,6 +127,8 @@ class ShowCommand(BaseCommand):
cwd = os.getcwd()
module_dir = default_module_manager.search_module(module_name)
module_dir = (os.path.join(cwd, module_name),
None) if not module_dir else module_dir
if not module_dir or not os.path.exists(module_dir[0]):
print("%s is not existed!" % module_name)
return True
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册