repository isn't updating automatically at startup
lucianposton opened this issue · 3 comments
lucianposton commented
BinuDR commented
try this
;repos download autostart.lic
Then log out and back in
lucianposton commented
@BinuDR thanks. That fixed it. My old autostart.lic
was passing ['download-updates']
as an Array. After doing ;repos download autostart.lic
, the args ended up being passed to the Script object as a String instead, and the code path for Strings works correctly.
While trying to figure this issue out, I stumbled across a TODO in the code for the Array code path that was easy enough to fix to get it working, so I sent a pr for that if you guys are interested. Feel free to close this if you don't want to pr.
BinuDR commented
Sheltim will take a look at it and merge it if it's good. Thanks!