rm push/pop

This commit is contained in:
2026-02-26 08:13:18 -06:00
parent eb19b18594
commit a1b41d5ecf
59 changed files with 19546 additions and 19265 deletions

View File

@@ -208,11 +208,11 @@ Link.sync_all = function(shop) {
// Validate target exists
var link_target = resolve_link_target(target)
if (!fd.is_dir(link_target)) {
push(errors, canonical + ': target ' + link_target + ' does not exist')
errors[] = canonical + ': target ' + link_target + ' does not exist'
return
}
if (!fd.is_file(link_target + '/cell.toml')) {
push(errors, canonical + ': target ' + link_target + ' is not a valid package')
errors[] = canonical + ': target ' + link_target + ' is not a valid package'
return
}
@@ -246,7 +246,7 @@ Link.sync_all = function(shop) {
count = count + 1
} disruption {
push(errors, canonical + ': sync failed')
errors[] = canonical + ': sync failed'
}
_sync()
})