chore: clear low-risk lint warnings
This commit is contained in:
@@ -155,7 +155,7 @@ function getStoredRoomRoleOverrideRows(
|
||||
agent_config_json: string | null;
|
||||
created_at: string;
|
||||
updated_at: string;
|
||||
}> = [];
|
||||
}>;
|
||||
try {
|
||||
rows = database
|
||||
.prepare(
|
||||
|
||||
@@ -191,7 +191,7 @@ export function ensureLinuxReadonlySandboxAppArmorSupport(options?: {
|
||||
const sysctlContents =
|
||||
'# Managed by EJClaw setup to allow bubblewrap readonly sandboxing.\n' +
|
||||
'kernel.apparmor_restrict_unprivileged_userns=0\n';
|
||||
let existingContents: string | null = null;
|
||||
let existingContents: string | null;
|
||||
|
||||
try {
|
||||
existingContents = readFileSyncFn(sysctlPath, 'utf-8');
|
||||
|
||||
@@ -15,7 +15,6 @@ import {
|
||||
ensureLinuxReadonlySandboxAppArmorSupport,
|
||||
getPlatform,
|
||||
getNodePath,
|
||||
getServiceManager,
|
||||
} from './platform.js';
|
||||
import { getServiceDefs } from './service-defs.js';
|
||||
import { setupLaunchd, setupLinux } from './service-installers.js';
|
||||
@@ -30,7 +29,6 @@ export async function run(_args: string[]): Promise<void> {
|
||||
const platform = getPlatform();
|
||||
const nodePath = getNodePath();
|
||||
const homeDir = os.homedir();
|
||||
const serviceManager = getServiceManager();
|
||||
|
||||
logger.info({ platform, nodePath, projectRoot }, 'Setting up service');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user