Merge pull request #96 from karaketir16/patch-1

fix: Invalid URL format, surrounding quotes does not match with regex
This commit is contained in:
Timothy Jaeryang Baek
2024-06-17 10:42:24 -07:00
committed by GitHub

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