fix: surrounding quotes does not match with regex

surrounding quotes does not match with regex in `start.sh` download.
This commit is contained in:
Osman Karaketir
2024-06-15 23:17:12 +03:00
committed by GitHub
parent 4992208bb8
commit 6bab4f3ec7

View File

@@ -53,6 +53,9 @@ download_pipelines() {
local path=$1
local destination=$2
# Remove any surrounding quotes from the path
path=$(echo "$path" | sed 's/^"//;s/"$//')
echo "Downloading pipeline files from $path to $destination..."
if [[ "$path" =~ ^https://github.com/.*/.*/blob/.* ]]; then