Skip to content

Commit

Permalink
Merge pull request #96 from karaketir16/patch-1
Browse files Browse the repository at this point in the history
fix: Invalid URL format, surrounding quotes does not match with regex
  • Loading branch information
tjbck authored Jun 17, 2024
2 parents 0f610ca + 6bab4f3 commit 53ec4ae
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 53ec4ae

Please sign in to comment.