From 2cf7bf2105eca57bd647431dddfbfe7985a0f95c Mon Sep 17 00:00:00 2001 From: totoro Date: Sun, 24 Jul 2022 10:02:47 +0900 Subject: [PATCH] No longer print the 2 different type on load_vtm because it's unreadable, because these types are to big. The good solution is to have a diff function on these type to show the difference --- view/load_vtm.anubis | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/view/load_vtm.anubis b/view/load_vtm.anubis index 7f1262f..68a4fe7 100644 --- a/view/load_vtm.anubis +++ b/view/load_vtm.anubis @@ -25,9 +25,7 @@ public define Maybe(VTM) file_damaged then print("File '"+file_name+"' is damaged.\n\n");failure, bad_version(expected,found) then print("Secondary module '"+file_name+"' doesn't have the same\n"+ " version ("+found+") as primary module ("+expected+").\n\n");failure, - wrong_type(expected,found) then print("Secondary module '"+file_name+"' has type:\n"+ - found+" while primary module expected:\n"+ - expected+"\n\n");failure, + wrong_type(expected,found) then print("vtm plugin '"+file_name+"' is not compatible with the current version\n");failure, ok(vtm_plugin) then println("vtm plugin "+vtm_plugin.db_version+" loaded "); success(vtm_plugin) }. -- libgit2 0.21.4