mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +00:00
Refactor/sdk init (#2947)
* fixes for main * refactor package initialization * fixes from testing * more fixes * beta.21 * do not use instanceof * closes #2921 * beta22 * allow disabling kiosk * migration * fix /etc/shadow * actionRequest -> task * beta.23
This commit is contained in:
@@ -103,11 +103,11 @@ export class DepErrorService {
|
||||
|
||||
// action required
|
||||
if (
|
||||
Object.values(pkg.requestedActions).some(
|
||||
a =>
|
||||
a.active &&
|
||||
a.request.packageId === depId &&
|
||||
a.request.severity === 'critical',
|
||||
Object.values(pkg.tasks).some(
|
||||
t =>
|
||||
t.active &&
|
||||
t.task.packageId === depId &&
|
||||
t.task.severity === 'critical',
|
||||
)
|
||||
) {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user