plugin/go-getter: support urls including :

This commit is contained in:
Yujun Zhang
2019-09-09 15:39:45 +08:00
parent 9ee35c9afb
commit 4cb883863f
2 changed files with 31 additions and 1 deletions

View File

@@ -28,7 +28,7 @@ function parseYaml {
local file=$1
while read -r line
do
local k=${line%:*}
local k=${line%%:*}
local v=${line#*:}
local t=${v#"${v%%[![:space:]]*}"} # trim leading space