File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -147,17 +147,19 @@ export def main [
147147 let data = open $source
148148 | each {|item |
149149
150- let info = if ($item.link | str contains ' github' ) {
150+ let link = $item.repository
151+
152+ let info = if ($link | str contains ' github' ) {
151153 sleep $delay
152- $item. link | parse_link | github $token
153- } else if ($item. link | str contains ' gitlab' ) {
154+ $link | parse_link | github $token
155+ } else if ($link | str contains ' gitlab' ) {
154156 sleep $delay
155- $item. link | parse_link | gitlab $token
156- } else if ($item. link | str contains ' codeberg' ) {
157+ $link | parse_link | gitlab $token
158+ } else if ($link | str contains ' codeberg' ) {
157159 sleep $delay
158- $item. link | parse_link | codeberg $token
160+ $link | parse_link | codeberg $token
159161 } else {
160- $item. link | parse_link | clone
162+ $link | parse_link | clone
161163 }
162164
163165 {
You can’t perform that action at this time.
0 commit comments