Skip to content

Commit 6e15050

Browse files
fix
1 parent 2857708 commit 6e15050

File tree

4 files changed

+1
-4
lines changed

4 files changed

+1
-4
lines changed

src/redirect/checks.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ validate_paths() {
4646
for path in $paths; do
4747
local url=$(echo "$path" | jq -r '.url')
4848
local path_=$(echo "$path" | jq -r '.path_')
49-
if [[ -z "$url"]]; then
49+
if [[ -z "$url" ]]; then
5050
local ERROR_MESSAGE=$(customErrorMessage "Error" "0115" "Missing \"url\" in item #$countt in \"paths\" in \"redirect_config\" in \"module.exports\" at \"just.config.js\" file.")
5151
echo -e "$_RED$ERROR_MESSAGE$_RESET" && exit 1
5252
elif [[ -z "$path_" ]]; then

tests/compress.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,5 @@ CONFIG=$(cat "tests/compress.js")
2626
HTML=$(cat "website/index.html")
2727
rm -f "just.config.js"
2828
rm -r "website"
29-
rm -r "data"
3029
echo "$CONFIG" > "just.config.js"
3130
echo "$HTML" > "test/index.html"

tests/docs.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,5 @@ CONFIG=$(cat "tests/docs.js")
2626
MARKDOWN=$(cat "tests/docs.md")
2727
rm -f "just.config.js"
2828
rm -r "website"
29-
rm -r "data"
3029
echo "$CONFIG" > "just.config.js"
3130
echo "$MARKDOWN" > "test/index.md"

tests/redirect.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,4 @@ mkdir -p test
2525
CONFIG=$(cat "tests/redirect.js")
2626
rm -f "just.config.js"
2727
rm -r "website"
28-
rm -r "data"
2928
echo "$CONFIG" > "just.config.js"

0 commit comments

Comments
 (0)