From 21dfc5e4e51987ed0b554db8f620ce1b38054a9d Mon Sep 17 00:00:00 2001 From: Fabian Wilkens Date: Sat, 18 Sep 2021 18:38:02 +0200 Subject: [PATCH] Fix: Remove unnecessary 'ynh_webpath_available' --- node_modules/.yarn-integrity | 10 ++++++++++ scripts/restore | 1 - 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 node_modules/.yarn-integrity diff --git a/node_modules/.yarn-integrity b/node_modules/.yarn-integrity new file mode 100644 index 0000000..6848ff5 --- /dev/null +++ b/node_modules/.yarn-integrity @@ -0,0 +1,10 @@ +{ + "systemParams": "linux-x64-88", + "modulesFolders": [], + "flags": [], + "linkedModules": [], + "topLevelPatterns": [], + "lockfileEntries": {}, + "files": [], + "artifacts": {} +} \ No newline at end of file diff --git a/scripts/restore b/scripts/restore index 1847ba0..ddeb598 100755 --- a/scripts/restore +++ b/scripts/restore @@ -53,7 +53,6 @@ config_api_gateway="$final_path/live/api-gateway.env" #================================================= ynh_script_progression --message="Validating restoration parameters..." --weight=2 -ynh_webpath_available --domain=$domain --path_url=$path_url || ynh_die --message="Path not available: ${domain}${path_url}" test ! -d $final_path || ynh_die --message="There is already a directory: $final_path " test ! -d $final_path_www || ynh_die --message="There is already a directory: $final_path_www "