Skip to content

Commit

Permalink
fix: surrounding quotes does not match with regex
Browse files Browse the repository at this point in the history
surrounding quotes does not match with regex in `start.sh` download.
  • Loading branch information
karaketir16 committed Jun 15, 2024
1 parent 4992208 commit 6bab4f3
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 6bab4f3

Please sign in to comment.