clean up cmd line

This commit is contained in:
2026-01-09 05:37:37 -06:00
parent 8403883b9d
commit d044bde4f9
12 changed files with 1507 additions and 183 deletions

View File

@@ -986,8 +986,15 @@ Shop.update = function(pkg) {
log.console(`checking ${pkg}`)
if (info == 'local') return {
updated: time.number()
if (info == 'local') {
// Local packages always get a lock entry
var new_entry = {
type: 'local',
updated: time.number()
}
lock[pkg] = new_entry
Shop.save_lock(lock)
return new_entry
}
var local_commit = lock_entry ? lock_entry.commit : null