Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

442 B
Raw Blame
import { spawnSync } from "node:child_process";
import { resolve } from "node:path";

const cwd = resolve(import.meta.dirname, "../..");
process.exitCode =
    spawnSync(
        process.execPath,
        [
            "node_modules/knip/bin/knip.js",
            "--config",
            "checks/unused-exports/knip.json",
            "--include",
            "exports,types",
        ],
        { cwd, stdio: "inherit" },
    ).status ?? 1;