From d41285c122296046f390d2030722a9a03acbef2c Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Fri, 14 Jun 2024 22:34:55 +0200 Subject: [PATCH] fix CI warning: 'change_url' is not of type 'array' --- scripts/restore | 3 --- tests.toml | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/scripts/restore b/scripts/restore index b6c8bee..2170b88 100755 --- a/scripts/restore +++ b/scripts/restore @@ -67,9 +67,6 @@ ynh_psql_connect_as --user="$db_user" --password="$db_pwd" --database="$db_name" #================================================= ynh_script_progression --message="Setting up source files..." --weight=1 -# detect_arch comes from _common.sh / personnal helpers -architecture="$(detect_arch)" - # compare if the system arch is different from the binary arch # if so, download the correct binary if [ "$architecture" != "$(file "$install_dir"/gotosocial | cut -d ',' -f 2 | tr -d ' ')" ] diff --git a/tests.toml b/tests.toml index a11c49d..a849f61 100644 --- a/tests.toml +++ b/tests.toml @@ -3,7 +3,7 @@ test_format = 1.0 [default] # GTS don't support it -exclude = "change_url" +exclude = [ "change_url" ] # ------------------------------- # Default args to use for install