mirror of
https://github.com/YunaiV/ruoyi-vue-pro.git
synced 2026-04-19 14:08:38 +00:00
fix: args
This commit is contained in:
@@ -927,7 +927,7 @@ def main():
|
|||||||
)
|
)
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
sql_file = pathlib.Path(arg.path).resolve().as_posix()
|
sql_file = pathlib.Path(args.path).resolve().as_posix()
|
||||||
convertor = None
|
convertor = None
|
||||||
if args.type == "postgres":
|
if args.type == "postgres":
|
||||||
convertor = PostgreSQLConvertor(sql_file)
|
convertor = PostgreSQLConvertor(sql_file)
|
||||||
|
|||||||
Reference in New Issue
Block a user