You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
local ERROR_MESSAGE=($(ErrorMessage "redirect/checks.sh""0117"))
30
-
echo$ERROR_MESSAGE&&exit 1
29
+
local ERROR_MESSAGE=$(ErrorMessage "redirect/checks.sh""0117")
30
+
echo"$ERROR_MESSAGE"&&exit 1
31
31
fi
32
32
33
33
validate_redirect_config() {
34
34
local url=$(echo "$config"| jq -r '.redirect_config.url'> /dev/null)
35
35
if [[ -z"$url" ]];then
36
-
local ERROR_MESSAGE=($(ErrorMessage "redirect/checks.sh""0114"))
37
-
echo$ERROR_MESSAGE&&exit 1
36
+
local ERROR_MESSAGE=$(ErrorMessage "redirect/checks.sh""0114")
37
+
echo"$ERROR_MESSAGE"&&exit 1
38
38
fi
39
39
}
40
40
@@ -46,11 +46,11 @@ validate_paths() {
46
46
local url=$(echo "$path"| jq -r '.url')
47
47
local path_=$(echo "$path"| jq -r '.path_')
48
48
if [[ -z"$url"]];then
49
-
local ERROR_MESSAGE=($(customErrorMessage "Error""0115""Missing \"url\" in item #$countt in \"paths\" in \"redirect_config\" in \"module.exports\" at \"just.config.js\" file."))
50
-
echo$ERROR_MESSAGE&&exit 1
49
+
local ERROR_MESSAGE=$(customErrorMessage "Error""0115""Missing \"url\" in item #$countt in \"paths\" in \"redirect_config\" in \"module.exports\" at \"just.config.js\" file.")
50
+
echo"$ERROR_MESSAGE"&&exit 1
51
51
elif [[ -z"$path_" ]];then
52
-
local ERROR_MESSAGE=($(customErrorMessage "Error""0116""Missing \"path_\" in item #$countt in \"paths\" in \"redirect_config\" in \"module.exports\" at \"just.config.js\" file."))
53
-
echo$ERROR_MESSAGE&&exit 1
52
+
local ERROR_MESSAGE=$(customErrorMessage "Error""0116""Missing \"path_\" in item #$countt in \"paths\" in \"redirect_config\" in \"module.exports\" at \"just.config.js\" file.")
0 commit comments