slipset / deps-deploy

deploy your stuff
Eclipse Public License 1.0
149 stars 31 forks source link

fix: correct handling of repository string #63

Open andrestylianos opened 9 months ago

andrestylianos commented 9 months ago

Hit the following error when trying to use 0.2.2 in CI

nth not supported on this type: Character

I reproduced it locally and the reason is that line 222 uses options instead of the opts that have already been processed.

This means that when :repository is a string such as "repo" we end up with

(->> options
     :repository ;; => "repo"
     (into []) ;; => [\r \e \p \o]
      first) ;; => \r

which it then tries to destructure with [exec-args-repo-id exec-args-repo-settings].